diff options
author | 1stDimension <23144389+1stDimension@users.noreply.github.com> | 2023-05-01 01:19:09 +0200 |
---|---|---|
committer | 1stDimension <23144389+1stDimension@users.noreply.github.com> | 2023-05-01 01:41:20 +0200 |
commit | bf41cdefa63043436436c726b619209ab86c5010 (patch) | |
tree | b5f107362b3ded0f8700cabdadbc50b3d5b76d0a | |
parent | c697d066702ab81ce0684fedb4c638e0fc0473e8 (diff) |
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 a3309bc..96703d4 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 |