bugfix: svd criterion #492
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
on: | |
push: | |
branches: | |
- dev | |
- main | |
pull_request: | |
name: Assess Code Quality | |
jobs: | |
code-quality: | |
name: code-quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@master | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly | |
components: clippy, rustfmt, rust-src, miri | |
- name: Formatting check | |
run: | |
cargo fmt --all -- --check && | |
cd ./faer-entity && | |
cargo fmt --all -- --check | |
# want to get all quality issues | |
continue-on-error: true | |
- name: Linting check | |
run: | |
cargo clippy --all-targets && | |
cd ./faer-entity && | |
cargo clippy --all-targets | |
continue-on-error: true |