Skip to content

Commit

Permalink
Improve CI (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav authored Jul 20, 2023
1 parent 216d026 commit 83efe0a
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 83efe0a

Please sign in to comment.