From d0ee873a9200ca6166a9fa57877d0466844fd176 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 2 Mar 2021 10:33:44 +1100 Subject: [PATCH] Smoke test the binary in the release workflow Fixes #251. --- .github/workflows/release-cli.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index f366dae5..82ea752e 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -25,6 +25,9 @@ jobs: - name: Build ${{ matrix.target }} release binary run: cargo build --target=${{ matrix.target }} --release --package swap --bin swap_cli + - name: Smoke test the binary + run: target/${{ matrix.target }}/release/swap_cli --help + # Remove once python 3 is the default - uses: actions/setup-python@v1 with: