Skip to content

Commit 60612fd

Browse files
committed
ci(rust): use rust-cache instead of cache and install only webgtk
*should* increase performance i hope ._.
1 parent 654ba37 commit 60612fd

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

.github/workflows/rust.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,14 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: dtolnay/rust-toolchain@stable
20-
- uses: actions/cache@v4
21-
with:
22-
path: |
23-
~/.cargo/bin/
24-
~/.cargo/registry/index/
25-
~/.cargo/registry/cache/
26-
~/.cargo/git/db/
27-
target/
28-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
29-
20+
- uses: Swatinem/rust-cache@v2
3021
- name: Git LFS Pull
3122
run: |
3223
git lfs install
3324
git lfs pull
34-
- name: Update Dependencies
35-
run: sudo apt update
3625
- name: Install Dependencies
37-
run: sudo apt install -y libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev
26+
run: |
27+
sudo apt update
28+
sudo apt install -y libwebkit2gtk-4.1-dev
3829
- name: Run tests
3930
run: cargo test --verbose

0 commit comments

Comments
 (0)