Update cargo-deny configuration #18
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: Reじゅもん | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Validate dependency tree licenses | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run rustfmt | |
run: | | |
rustup component add rustfmt \ | |
&& cargo fmt -- --check | |
- name: Run Clippy | |
run: | | |
rustup component add clippy \ | |
&& cargo clippy |