Skip to content

Commit

Permalink
chore: cargo-denyを復活させ、mainブランチ上で動かす
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Oct 12, 2024
1 parent 991fbc8 commit 752b9ae
Show file tree
Hide file tree
Showing 2 changed files with 112 additions and 141 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: cargo-deny
on:
push:
pull_request:
defaults:
run:
shell: bash
- main
jobs:
cargo-deny:
runs-on: ubuntu-20.04
Expand All @@ -13,11 +10,6 @@ jobs:
- name: Install cargo-binstall
uses: taiki-e/install-action@cargo-binstall
- name: Install cargo-deny
run: cargo binstall cargo-deny@^0.14 --no-confirm --log-level debug
run: cargo binstall cargo-deny@^0.16 --no-confirm --log-level debug
- name: cargo-deny
run: |
if ${{ !!github.event.release }}; then
cargo deny --all-features check
else
cargo deny --all-features check -W denied
fi
run: cargo deny --all-features check
Loading

0 comments on commit 752b9ae

Please sign in to comment.