diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 0000000..e78cec8 --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,27 @@ +name: Audit + +on: + push: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' + pull_request: + branches: + - main + - master + schedule: + - cron: '12 13 2 * *' + +jobs: + audit: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + + - name: Audit server + run: cargo audit --deny warnings --ignore RUSTSEC-2022-0071 # includes exception for unmaintained rusoto crate, should be resolved by #134 + + - name: Audit test client + run: cargo audit --deny warnings + working-directory: misc/test-client