Skip to content

Bump step-security/harden-runner from 2.7.0 to 2.7.1 #20

Bump step-security/harden-runner from 2.7.0 to 2.7.1

Bump step-security/harden-runner from 2.7.0 to 2.7.1 #20

Workflow file for this run

name: Lint
on: [ push, pull_request ]
permissions:
contents: read
jobs:
rust:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
crates.io:443
github.com:443
index.crates.io:443
static.crates.io:443
static.rust-lang.org:443
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Rust toolchain
run: rustup show && rustup update
- name: cargo fmt
run: cargo fmt -- --check
- name: cargo clippy
run: cargo clippy --all-features --tests -- -D warnings