Skip to content

Commit

Permalink
Differentiate between various jobs (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier authored Jul 20, 2023
1 parent bbef57c commit dea7d9b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ jobs:
matrix:
action: [clippy, fmt, nextest]
steps:
- name: Setup build environment
run: rustup toolchain install nightly --profile minimal
- name: Fetch latest code
uses: actions/checkout@v3
- name: Setup build environment
if: matrix.action != 'fmt'
run: rustup show
- uses: Swatinem/rust-cache@v2
if: matrix.action != 'fmt'
with:
prefix-key: ${{ env.CACHE_VERSION }}
key: ${{ matrix.action }}
- name: Cargo clippy
if: matrix.action == 'clippy'
uses: actions-rs/clippy-check@v1
Expand Down

0 comments on commit dea7d9b

Please sign in to comment.