Skip to content

Commit

Permalink
ci: add rust-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Oct 25, 2023
1 parent 78ceaf0 commit 9a5ff66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: sudo apt-get install libasound2-dev
- uses: Swatinem/rust-cache@v2
- run: cargo check

fmt:
Expand All @@ -27,6 +28,7 @@ jobs:
with:
components: rustfmt
- run: sudo apt-get install libasound2-dev
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check

clippy:
Expand All @@ -38,6 +40,7 @@ jobs:
with:
components: clippy
- run: sudo apt-get install libasound2-dev
- uses: Swatinem/rust-cache@v2
- run: cargo clippy -- -D warnings

release:
Expand Down

0 comments on commit 9a5ff66

Please sign in to comment.