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