ksud: fmt (2) #61
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 check | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/clippy.yml' | |
- 'userspace/ksud/**' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/clippy.yml' | |
- 'userspace/ksud/**' | |
env: | |
RUSTFLAGS: '-Dwarnings' | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update --force-non-host stable-x86_64-unknown-linux-gnu | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: userspace/ksud | |
- name: Install cross | |
run: | | |
RUSTFLAGS="" cargo install cross | |
- name: Run clippy | |
run: | | |
cross clippy --manifest-path userspace/ksud/Cargo.toml --target aarch64-linux-android --release |