mirror of
https://github.com/Xevion/byte-me.git
synced 2025-12-07 03:14:38 -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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
|
||||||
uses: dtolnay/rust-toolchain@stable
|
|
||||||
|
|
||||||
- name: Install cargo-audit
|
- name: Install cargo-audit
|
||||||
uses: taiki-e/cache-cargo-install-action@v2
|
uses: taiki-e/install-action@cargo-audit
|
||||||
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
|
||||||
uses: taiki-e/cache-cargo-install-action@v2
|
uses: taiki-e/install-action@cargo-deny
|
||||||
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