Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Merge pull request #203 from artichoke/dev/lopopolo-no-more-discord #687

Merge pull request #203 from artichoke/dev/lopopolo-no-more-discord

Merge pull request #203 from artichoke/dev/lopopolo-no-more-discord #687

Workflow file for this run

---
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@v5.0.0
- name: Install Ruby toolchain
uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.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@v5.0.0
- name: Install Rust toolchain
uses: artichoke/setup-rust/audit@v2.0.1
- name: Generate Cargo.lock
run: |
if [[ ! -f "Cargo.lock" ]]; then
cargo generate-lockfile --verbose
fi
- uses: EmbarkStudios/cargo-deny-action@f2ba7abc2abebaf185c833c3961145a3c275caad # v2.0.13
with:
arguments: --locked --all-features
command: check ${{ matrix.checks }}
command-arguments: --show-stats