chore(deps): Bump the gha-deps group with 3 updates #812
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 | |
"on": | |
push: | |
branches: | |
- trunk | |
pull_request: | |
branches: | |
- trunk | |
schedule: | |
- cron: "0 0 * * TUE" | |
jobs: | |
ruby: | |
name: Audit Ruby Dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.2.0 | |
- name: Install Ruby toolchain | |
uses: ruby/setup-ruby@c04af2bb7258bb6a03df1d3c1865998ac9390972 # v1.194.0 | |
with: | |
ruby-version: ".ruby-version" | |
bundler-cache: true | |
- name: bundler-audit | |
run: bundle exec bundle-audit check --update | |
rust: | |
name: Audit Rust Dependencies | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
checks: | |
- advisories | |
- bans licenses sources | |
# Prevent sudden announcement of a new advisory from failing ci: | |
continue-on-error: ${{ matrix.checks == 'advisories' }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.2.0 | |
- name: Install Rust toolchain | |
uses: artichoke/setup-rust/audit@v1.12.1 | |
- name: Generate Cargo.lock | |
run: | | |
if [[ ! -f "Cargo.lock" ]]; then | |
cargo generate-lockfile --verbose | |
fi | |
- uses: EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 # v2.0.1 | |
with: | |
arguments: --locked --all-features | |
command: check ${{ matrix.checks }} | |
command-arguments: --show-stats |