Fix: branchを修正 #296
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: cargo-deny | |
on: | |
push: | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
cargo-deny: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install cargo-binstall | |
uses: taiki-e/install-action@cargo-binstall | |
- name: Install cargo-deny | |
run: cargo binstall cargo-deny@^0.13 --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 |