Merge pull request #1188 from 1stDimension/ci-migrate

Moving actions to dtolnay's version
This commit is contained in:
Mélanie Chauvel 2023-08-03 19:34:08 +02:00 committed by GitHub
commit f039202b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 12 deletions

View File

@ -32,23 +32,15 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@v1
with: with:
profile: minimal
toolchain: ${{ matrix.rust }} toolchain: ${{ matrix.rust }}
override: true
- name: Install cargo-hack - name: Install cargo-hack
uses: actions-rs/cargo@v1 run: cargo install cargo-hack@0.5.27
with:
command: install
args: cargo-hack
- name: Run unit tests - name: Run unit tests
uses: actions-rs/cargo@v1 run: cargo hack test --feature-powerset
with:
command: hack
args: test --feature-powerset