chore(deps): Bump clap from 4.5.57 to 4.5.58 #1220
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: [ push, pull_request ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| rust: | |
| name: Cargo clippy & fmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | |
| with: | |
| disable-sudo: true | |
| egress-policy: block | |
| allowed-endpoints: > | |
| crates.io:443 | |
| github.com:443 | |
| index.crates.io:443 | |
| release-assets.githubusercontent.com:443 | |
| static.crates.io:443 | |
| static.rust-lang.org:443 | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Setup Rust toolchain | |
| run: rustup show && rustup update | |
| - name: cargo fmt | |
| run: cargo fmt -- --check | |
| - name: cargo clippy | |
| run: cargo clippy --workspace --all-features --tests -- -D warnings | |
| check-spdx-headers: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - uses: enarx/spdx@b5bfdd4410071bf058c8333d0e70020001524b6b # master | |
| with: | |
| licenses: Apache-2.0 | |
| audit_deny_udeps: | |
| name: Cargo Audit, Deny, Udeps | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | |
| with: | |
| disable-sudo: true | |
| egress-policy: block | |
| allowed-endpoints: > | |
| api.github.com:443 | |
| crates.io:443 | |
| github.com:443 | |
| index.crates.io:443 | |
| objects.githubusercontent.com:443 | |
| release-assets.githubusercontent.com:443 | |
| static.crates.io:443 | |
| static.rust-lang.org:443 | |
| - name: Checkout repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Install nightly toolchain | |
| uses: dtolnay/rust-toolchain@53c04d3685fcc3ca67ce478eb9c2ea5c051a4a63 # nightly | |
| - name: Install Cargo Audit | |
| uses: taiki-e/install-action@710817a1645ef40daad5bcde7431ceccf6cc3528 # v2.67.13 | |
| with: | |
| tool: cargo-audit,cargo-deny,cargo-udeps | |
| - name: Run Cargo Audit | |
| run: cargo audit | |
| - name: Run Cargo deny | |
| run: cargo deny --all-features check | |
| - name: Run Cargo udeps | |
| run: cargo +nightly udeps | |
| hack: | |
| name: Cargo Hack | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | |
| with: | |
| disable-sudo: true | |
| egress-policy: block | |
| allowed-endpoints: > | |
| crates.io:443 | |
| github.com:443 | |
| index.crates.io:443 | |
| objects.githubusercontent.com:443 | |
| release-assets.githubusercontent.com:443 | |
| static.crates.io:443 | |
| - name: Checkout repository | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Install Cargo Hack | |
| uses: taiki-e/install-action@710817a1645ef40daad5bcde7431ceccf6cc3528 # v2.67.13 | |
| with: | |
| tool: cargo-hack | |
| - name: Run Cargo Hack | |
| run: cargo hack check --each-feature --no-dev-deps |