mirror of
https://github.com/eza-community/eza.git
synced 2025-12-23 05:36:50 +00:00
ci: Moving actions to dtolnay's version
(exa PR) 1188: Moving actions to dtolnay's version
This commit is contained in:
commit
c978469a08
1 changed files with 4 additions and 12 deletions
16
.github/workflows/unit-tests.yml
vendored
16
.github/workflows/unit-tests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue