fix(eventsub): flatten automod v2 held reason #4134
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Audit | |
env: | |
MSRV: 1.77.0 | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
push: | |
branches: [main] | |
schedule: | |
- cron: "0 0 * * *" | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
audit: | |
needs: [cargo-deny] # security-audit, | |
runs-on: ubuntu-latest | |
if: always() | |
steps: | |
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}' | |
- name: Done | |
run: exit 0 | |
security-audit: | |
name: Security Audit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ env.MSRV }} | |
- run: cargo audit | |
cargo-deny: | |
name: Cargo Deny | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
checks: | |
- advisories | |
- bans | |
- licenses | |
- sources | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: EmbarkStudios/cargo-deny-action@v2 | |
with: | |
rust-version: ${{ env.MSRV }} | |
command: check ${{ matrix.checks }} -s | |
arguments: --all-features | |
log-level: warn |