Moving actions to dtolnay's version

This commit is contained in:
1stDimension 2023-05-01 01:19:09 +02:00
parent c697d06670
commit bf41cdefa6
No known key found for this signature in database
GPG Key ID: 456601F9B833B881

View File

@ -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