Skip to content

chore: pin GitHub Actions to commit SHAs #372

chore: pin GitHub Actions to commit SHAs

chore: pin GitHub Actions to commit SHAs #372

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: lint:required
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Cache Cargo
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-lint-1
- name: Run Lint
run: cargo clippy --verbose --tests --benches -- -D warnings
env:
RUST_BACKTRACE: 1