- Use latest Node - Update GitHub Action - Update NDK - Update Gradle - Update Cargo dependencies - Remove unused dependencies - Remove unnecessary build tools version (AGP handles it now) No issues too far, since there is no major changes, i don't think there will be issue. Clippy passes fine on my end, new version of `nom` dependency causes issues.
37 lines
893 B
YAML
37 lines
893 B
YAML
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 stable
|
|
- uses: Swatinem/rust-cache@v2
|
|
with:
|
|
workspaces: userspace/ksud
|
|
|
|
- name: Install cross
|
|
run: |
|
|
RUSTFLAGS="" cargo install cross --git https://github.com/cross-rs/cross --rev 66845c1
|
|
|
|
- name: Run clippy
|
|
run: |
|
|
cross clippy --manifest-path userspace/ksud/Cargo.toml --target aarch64-linux-android --release
|
|
cross clippy --manifest-path userspace/ksud/Cargo.toml --target x86_64-linux-android --release |