Skip to content

Commit

Permalink
Added rust sec workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ElBe-Plaq committed Dec 31, 2023
1 parent 27b941c commit f96afcb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/rust_sec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Security audit

Check warning on line 1 in .github/workflows/rust_sec.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

1:1 [document-start] missing document start "---"

Check warning on line 1 in .github/workflows/rust_sec.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

1:1 [document-start] missing document start "---"
permissions:
issues: write
checks: write

on:

Check warning on line 6 in .github/workflows/rust_sec.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

6:1 [truthy] truthy value should be one of [false, true]

Check warning on line 6 in .github/workflows/rust_sec.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

6:1 [truthy] truthy value should be one of [false, true]
push:
paths:
- "**/Cargo.toml"

Check failure on line 9 in .github/workflows/rust_sec.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

9:11 [indentation] wrong indentation: expected 12 but found 10

Check failure on line 9 in .github/workflows/rust_sec.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

9:11 [indentation] wrong indentation: expected 12 but found 10
- "**/Cargo.lock"

jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

Check failure on line 16 in .github/workflows/rust_sec.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

16:11 [indentation] wrong indentation: expected 12 but found 10

Check failure on line 16 in .github/workflows/rust_sec.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

16:11 [indentation] wrong indentation: expected 12 but found 10
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ignore: RUSTSEC-2020-0138

0 comments on commit f96afcb

Please sign in to comment.