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