fix(deps): update rust crate clap to v4.5.23 (#503) #690
This file contains 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: Run cargo deny check | |
permissions: | |
contents: read | |
on: | |
push: | |
paths: | |
- "**/Cargo.toml" | |
- "**/Cargo.lock" | |
- "deny.toml" | |
- ".github/workflows/cargo-deny.yaml" | |
branches: [ "master" ] | |
pull_request: | |
paths: | |
- "**/Cargo.toml" | |
- "**/Cargo.lock" | |
- "deny.toml" | |
- ".github/workflows/cargo-deny.yaml" | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install cargo-deny (pre-built) | |
run: | | |
git_tag="0.14.20" | |
d="$(mktemp)" | |
f="cargo-deny-${git_tag}-x86_64-unknown-linux-musl" | |
exe_name="cargo-deny" | |
curl -L "https://github.com/EmbarkStudios/cargo-deny/releases/download/$git_tag/${f}.tar.gz" > "$d" | |
e="${f}/${exe_name}" | |
tar xf "$d" "$e" | |
chmod +x "$e" | |
mv "$e" ~/.cargo/bin && cargo deny --version | |
rm "$d" | |
- name: Check (cargo-deny) | |
run: cargo deny check |