Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cargo-denyを復活させ、mainブランチ上で動かす #855

Merged
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: cargo-deny
on:
push:
pull_request:
defaults:
run:
shell: bash
branches:
- main
jobs:
cargo-deny:
runs-on: ubuntu-20.04
Expand All @@ -13,11 +11,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
Loading