mirror of
https://github.com/0xNikilite/oboromi.git
synced 2026-01-31 01:15:22 +01:00
Update security.yml
This commit is contained in:
14
.github/workflows/security.yml
vendored
14
.github/workflows/security.yml
vendored
@@ -19,6 +19,14 @@ jobs:
|
||||
|
||||
- name: Audit dependencies for vulnerabilities
|
||||
uses: actions-rs/audit-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install cargo-outdated if needed
|
||||
run: |
|
||||
if ! command -v cargo-outdated &> /dev/null; then
|
||||
cargo install cargo-outdated --locked
|
||||
fi
|
||||
|
||||
- name: Cache cargo bin directory
|
||||
uses: actions/cache@v3
|
||||
@@ -28,12 +36,6 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-cargo-bin-
|
||||
|
||||
- name: Install cargo-outdated if needed
|
||||
run: |
|
||||
if ! command -v cargo-outdated &> /dev/null; then
|
||||
cargo install cargo-outdated --locked
|
||||
fi
|
||||
|
||||
- name: Check for outdated dependencies
|
||||
run: cargo outdated --exit-code 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user