Skip to content

Bump crate-ci/typos from 37e2b40f24407ec641ec44d4b81e76a8826b7b84 to bd033903f43a309e5226c11a04457034edefb115 #836

Bump crate-ci/typos from 37e2b40f24407ec641ec44d4b81e76a8826b7b84 to bd033903f43a309e5226c11a04457034edefb115

Bump crate-ci/typos from 37e2b40f24407ec641ec44d4b81e76a8826b7b84 to bd033903f43a309e5226c11a04457034edefb115 #836

Workflow file for this run

name: rust-clippy analyze
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "35 12 * * 3"
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
rust-clippy-analyze:
name: Run rust-clippy analyzing
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
artifactcache.actions.githubusercontent.com:443
crates.io:443
index.crates.io:443
frsnacprodeus2file1.blob.core.windows.net:443
github.com:443
static.crates.io:443
static.rust-lang.org:443
index.crates.io:443
- name: Checkout code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Install Rust toolchain
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
with:
profile: minimal
toolchain: nightly
components: clippy
override: true
- uses: Swatinem/rust-cache@81d053bdb0871dcd3f10763c8cc60d0adc41762b
- name: Install required cargo
run: cargo install clippy-sarif sarif-fmt
- name: Run rust-clippy
run: cargo +nightly clippy
--all-features
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@6ca1aa8c195c3ca3e77c174fe0356db1bce3b319
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true