Skip to content

chore: fix typo and drop removed --short flag in bug report template #437

chore: fix typo and drop removed --short flag in bug report template

chore: fix typo and drop removed --short flag in bug report template #437

---
name: Security Checks
on:
pull_request:
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
RUST_TOOLCHAIN_VERSION: "1.95.0"
RUSTFLAGS: "-D warnings"
RUSTDOCFLAGS: "-D warnings"
RUST_LOG: "info"
permissions: {}
jobs:
# Identify unused dependencies
cargo-udeps:
name: Run Cargo Udeps
runs-on: ubuntu-latest
env:
RUSTC_BOOTSTRAP: 1
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Install rust toolchain
run: |
rustup toolchain install "${RUST_TOOLCHAIN_VERSION}"
rustup default "${RUST_TOOLCHAIN_VERSION}"
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
key: udeps
- run: cargo install --locked cargo-udeps@0.1.61
- run: cargo udeps --all-targets --all-features
cargo-deny:
name: Run Cargo Deny
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:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Install rust toolchain
run: |
rustup toolchain install "${RUST_TOOLCHAIN_VERSION}"
rustup default "${RUST_TOOLCHAIN_VERSION}"
- uses: EmbarkStudios/cargo-deny-action@bb137d7af7e4fb67e5f82a49c4fce4fad40782fe # v2.0.20
with:
command: check ${{ matrix.checks }}