mirror of
https://github.com/Xevion/byte-me.git
synced 2025-12-06 03:14:35 -06:00
ci: use cache-cargo-install-action to cache cargo install invocations
This commit is contained in:
8
.github/workflows/security-audit.yml
vendored
8
.github/workflows/security-audit.yml
vendored
@@ -20,13 +20,17 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Install cargo-audit
|
||||
run: cargo install cargo-audit
|
||||
uses: taiki-e/cache-cargo-install-action@v2
|
||||
with:
|
||||
tool: cargo-audit
|
||||
|
||||
- name: Run cargo audit
|
||||
run: cargo audit --file src-tauri/Cargo.lock
|
||||
|
||||
- name: Install cargo-deny
|
||||
run: cargo install cargo-deny
|
||||
uses: taiki-e/cache-cargo-install-action@v2
|
||||
with:
|
||||
tool: cargo-deny
|
||||
|
||||
- name: Run cargo deny
|
||||
run: cargo deny --manifest-path src-tauri/Cargo.toml check
|
||||
|
||||
Reference in New Issue
Block a user