fix: dockerfile mosec bin path & cargo-deny trigger #5
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: Cargo Deny | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 10 * * 1' # Every Monday at 10:30 AM UTC | |
pull_request: | |
paths: | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
- '.github/workflows/deny.yml' | |
- 'deny.toml' | |
merge_group: | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
deny: | |
runs-on: ubuntu-latest | |
env: | |
CARGO_TERM_COLOR: always | |
VERSION: 0.16.3 | |
CMD: "cargo-deny" | |
DIR: "/tmp/cargo-deny" | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install Deny | |
run: | | |
mkdir -p $DIR | |
curl -L -o $DIR/archive.tar.gz https://github.com/EmbarkStudios/$CMD/releases/download/$VERSION/$CMD-$VERSION-x86_64-unknown-linux-musl.tar.gz | |
tar -xzvf $DIR/archive.tar.gz --strip-components=1 -C $DIR | |
- name: Deny | |
run: $DIR/$CMD -L debug check bans licenses advisories --show-stats |