From 47ae24d7c38e541b79afd623304cdc9249f77f55 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Tue, 14 Sep 2021 00:11:19 -0700 Subject: [PATCH] Run `cargo package` as part of test suite --- .github/workflows/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d26c7d62..8b1c5aaaa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,6 +31,20 @@ jobs: with: command: test + package: + name: Build releasable package + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: actions-rs/cargo@v1 + with: + command: package + fmt: name: Rustfmt runs-on: ubuntu-latest