Skip to content

Update deny.toml

Update deny.toml #420

Workflow file for this run

name: Quality Control
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
RUSTC_WRAPPER: "sccache"
SCCACHE_GHA_ENABLED: "true"
jobs:
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Get Date
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- name: Cache cargo registry
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/registry
key: rust-${{ runner.os }}-${{ matrix.rust }}-${{ hashFiles('**/Cargo.toml') }}-${{ steps.get-date.outputs.date }}-qc
restore-keys: |
rust-${{ runner.os }}-${{ matrix.rust }}-${{ hashFiles('**/Cargo.toml') }}-
rust-${{ runner.os }}
- name: Install cargo deny
run: |
cargo install --locked cargo-deny
- name: cargo deny license
run: |
cd fire_seq_search_server
cargo deny check licenses
- name: cargo deny advisories
run: |
cd fire_seq_search_server
cargo deny check advisories
- name: clippy
run: |
cd fire_seq_search_server
rustup component add clippy
cargo clippy