v4 #60
Workflow file for this run
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: DeZ80 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Validate dependency tree licenses | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Build benchmarks | |
run: cargo bench --no-run | |
- name: Run rustfmt | |
run: | | |
rustup component add rustfmt \ | |
&& cargo fmt -- --check | |
- name: Run Clippy | |
run: | | |
rustup component add clippy \ | |
&& cargo clippy |