Skip to content

Streamline the repo with rustyfarian ws2812 and network #1

Streamline the repo with rustyfarian ws2812 and network

Streamline the repo with rustyfarian ws2812 and network #1

Workflow file for this run

name: Audit
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "0 6 * * 1"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: audit-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
RUSTUP_TOOLCHAIN: stable
jobs:
audit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Setup just
uses: extractions/setup-just@v2
- name: Cache cargo artifacts
uses: Swatinem/rust-cache@v2
- name: Install cargo-audit
run: cargo install cargo-audit --locked
- name: Run cargo audit
run: just audit