Skip to content

Commit

Permalink
Speed up rust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frafra committed Jul 3, 2023
1 parent db2fb01 commit 9e49dbf
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,17 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libwebkit2gtk-4.1-dev
run: sudo apt-get install --no-install-recommends libwebkit2gtk-4.1-dev
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down

0 comments on commit 9e49dbf

Please sign in to comment.