name: Security
on:
push:
branches:
pull_request:
schedule:
- cron: "0 6 * * 1"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
cargo-deny:
name: cargo-deny
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4 # checkout repository
- name: Install cargo-deny
uses: taiki-e/install-action@v2 # prebuilt tool installer
with:
tool: cargo-deny
- run: cargo deny check