diff options
author | Mélanie Chauvel <perso@hack-libre.org> | 2023-08-03 19:34:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 19:34:08 +0200 |
commit | f039202b4f508200739e2114f74a539344d5bd1c (patch) | |
tree | e57ef7e80325173c8c1306bcd8314bbcb1ba89ba | |
parent | 17893b5f57b3337fbd441533f73898d34b00e49c (diff) | |
parent | bf41cdefa63043436436c726b619209ab86c5010 (diff) |
Merge pull request #1188 from 1stDimension/ci-migrate
Moving actions to dtolnay's version
-rw-r--r-- | .github/workflows/unit-tests.yml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 114a979..12816da 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -32,23 +32,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Rust toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@v1 with: - profile: minimal toolchain: ${{ matrix.rust }} - override: true - name: Install cargo-hack - uses: actions-rs/cargo@v1 - with: - command: install - args: cargo-hack + run: cargo install cargo-hack@0.5.27 - name: Run unit tests - uses: actions-rs/cargo@v1 - with: - command: hack - args: test --feature-powerset + run: cargo hack test --feature-powerset |