Skip to content

Commit

Permalink
Update audit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
trollLemon committed Aug 28, 2023
1 parent a42d71b commit acf4f0d
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Clippy and Rustfmt
name: Security Audit

on:
push:
Expand All @@ -9,7 +9,7 @@ on:
- main

jobs:
check:
security_audit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -18,11 +18,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Clippy
run: rustup component add clippy
- name: Install Rustfmt
run: rustup component add rustfmt
- name: Check code with Clippy
run: cargo clippy -- -D warnings
- name: Check code with Rustfmt
run: cargo fmt -- --check
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Run security audit
run: cargo audit

0 comments on commit acf4f0d

Please sign in to comment.