Skip to content

Commit

Permalink
Merge pull request #1188 from 1stDimension/ci-migrate
Browse files Browse the repository at this point in the history
Moving actions to dtolnay's version
  • Loading branch information
ariasuni authored Aug 3, 2023
2 parents 17893b5 + bf41cde commit f039202
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 f039202

Please sign in to comment.