Repository navigation
feat: PR with bumped version for release (#20) #4
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches-ignore: | |
| - "release/v*" | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| rust_version: 1.89.0 | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install essentials | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y pkg-config build-essential libudev-dev | |
| - name: Install Rust | |
| run: rustup toolchain install ${{ env.rust_version }} --profile minimal --component rustfmt,clippy | |
| - name: Cache rust | |
| uses: Swatinem/rust-cache@v2 | |
| - name: cargo fmt --check | |
| run: cargo fmt -- --check | |
| - name: cargo clippy | |
| run: cargo clippy -- --deny=warnings |