Create rust-rencfs.spec #110
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: clippy | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set default nightly | |
run: rustup default nightly && rustup update | |
- name: Add clippy | |
run: rustup component add clippy | |
- name: Build | |
run: cargo build -all --verbose | |
- name: Check | |
run: cargo check --verbose | |
- name: Clippy | |
run: cargo clippy --all-features --verbose |