Skip to content

Commit

Permalink
feat: add some caching to GH actions
Browse files Browse the repository at this point in the history
Trying to get faster perf..
  • Loading branch information
nathanleiby committed Nov 19, 2024
1 parent 47379b8 commit a19d1fc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Install OS dependencies (alsa)
run: sudo apt install libasound2-dev
- name: Install OS dependencies (alsa), using cache
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libasound2-dev
- name: Install rust
run: rustup toolchain install stable --profile minimal
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Lint
run: cargo clippy --all --all-features --tests -- -D warnings
- name: Build
Expand Down

0 comments on commit a19d1fc

Please sign in to comment.