mirror of
https://github.com/Xevion/byte-me.git
synced 2026-01-31 06:23:50 -06:00
ci: improve caching, use taiki-e/install-action where possible, add sccache, optimize dependency setup
This commit is contained in:
Vendored
+2
-6
@@ -51,17 +51,13 @@ jobs:
|
||||
patchelf
|
||||
|
||||
- name: Install cargo-udeps
|
||||
uses: taiki-e/cache-cargo-install-action@v2
|
||||
with:
|
||||
tool: cargo-udeps
|
||||
uses: taiki-e/install-action@cargo-udeps
|
||||
|
||||
- name: Check for unused dependencies
|
||||
run: cargo +nightly udeps --manifest-path src-tauri/Cargo.toml --all-targets
|
||||
|
||||
- name: Install cargo-machete
|
||||
uses: taiki-e/cache-cargo-install-action@v2
|
||||
with:
|
||||
tool: cargo-machete
|
||||
uses: taiki-e/install-action@cargo-machete
|
||||
|
||||
- name: Check for unused Cargo.toml dependencies
|
||||
run: cargo machete src-tauri/
|
||||
|
||||
Reference in New Issue
Block a user