From c65a7c4f87be9ddea9e34eb254f3b6d5933db4ef Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Sat, 17 Sep 2022 12:35:09 -0700 Subject: [PATCH] Add first minial workflow --- github/workflows/minimal.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 github/workflows/minimal.yml diff --git a/github/workflows/minimal.yml b/github/workflows/minimal.yml new file mode 100644 index 0000000..b4cf571 --- /dev/null +++ b/github/workflows/minimal.yml @@ -0,0 +1,31 @@ +on: + push: + branches: [master] + pull_request: +name: With dependencies at minimal versions +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + - uses: actions/checkout@v2 + with: + submodules: true + - name: cargo update -Zminimal-versions + uses: actions-rs/cargo@v1 + with: + command: update + toolchain: nightly + args: -Zminimal-versions + - name: cargo test + uses: actions-rs/cargo@v1 + with: + command: test + args: --all-features --all-targets