Create sonar-project.properties #30
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 | |
name: Clippy | |
env: | |
RUSTFLAGS: "-Dwarnings -Aunused -Wclippy::complexity -Wclippy::pedantic -Wclippy::nursery -Wclippy::suspicious -Wclippy::perf" | |
jobs: | |
clippy_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Install Cargo Audit | |
run: cargo install cargo-audit | |
- name: Build | |
run: cargo build --verbose | |
# - name: Test | |
# run: cargo test --verbose | |
- name: Run Clippy | |
run: cargo clippy --all-targets --all-features | |
- name: Audit | |
run: cargo audit |