Skip to content

Commit

Permalink
ci: add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Oct 16, 2023
1 parent 7b2a8b4 commit 1b8dbd3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/lint-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,16 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev
- uses: actions/checkout@v4

- uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install components
run: |
rustup component add clippy
Expand Down

0 comments on commit 1b8dbd3

Please sign in to comment.