Skip to content

Commit

Permalink
Moving actions to dtolnay's version
Browse files Browse the repository at this point in the history
  • Loading branch information
1stDimension committed Apr 30, 2023
1 parent c697d06 commit bf41cde
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bf41cde

Please sign in to comment.