Skip to content

Commit

Permalink
chore(deps): Update sqlx to resolve vulnerability
Browse files Browse the repository at this point in the history
fixup

fixup

fixup
  • Loading branch information
QuentinMoss committed Jul 1, 2023
1 parent 75d68a7 commit dccf667
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 250 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ env:
CARGO_TERM_COLOR: always

jobs:
cargo-audit:
name: Dependency Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cargo-audit audit -D warnings
format:
name: Formatting
runs-on: ubuntu-latest
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/pr-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Pull Request Security Audit

on:
push:
paths:
- '**/Cargo.toml'
pull_request:
paths:
- '**/Cargo.toml'

permissions:
contents: read

jobs:
security-audit:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v3

- name: Install cargo-audit
run: cargo install cargo-audit

- name: Generate lockfile
run: cargo generate-lockfile

- name: Audit dependencies
run: cargo audit -D warnings --ignore RUSTSEC-2022-0090
Loading

0 comments on commit dccf667

Please sign in to comment.