You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
Bumps the actions group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/download-artifact](https://github.com/actions/download-artifact), [actions/setup-java](https://github.com/actions/setup-java) and [KyleMayes/install-llvm-action](https://github.com/kylemayes/install-llvm-action). Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) Updates `actions/download-artifact` from 4 to 5 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v4...v5) Updates `actions/setup-java` from 4 to 5 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v4...v5) Updates `KyleMayes/install-llvm-action` from 1 to 2 - [Release notes](https://github.com/kylemayes/install-llvm-action/releases) - [Changelog](https://github.com/KyleMayes/install-llvm-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/kylemayes/install-llvm-action/compare/v1...v2) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-java dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: KyleMayes/install-llvm-action dependency-version: '2' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
54 lines
1.6 KiB
YAML
54 lines
1.6 KiB
YAML
name: Clippy check
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- next
|
|
paths:
|
|
- '.github/workflows/clippy.yml'
|
|
- 'userspace/ksud_magic/**'
|
|
- 'userspace/ksud_overlayfs/**'
|
|
pull_request:
|
|
branches:
|
|
- next
|
|
paths:
|
|
- '.github/workflows/clippy.yml'
|
|
- 'userspace/ksud_magic/**'
|
|
- 'userspace/ksud_overlayfs/**'
|
|
|
|
env:
|
|
RUSTFLAGS: '-Dwarnings'
|
|
|
|
jobs:
|
|
clippy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Setup Rust
|
|
run: rustup update stable
|
|
|
|
- name: Setup Cross
|
|
run: RUSTFLAGS="" cargo install cross
|
|
|
|
- name: Cache ksud_overlayfs
|
|
uses: Swatinem/rust-cache@v2
|
|
with:
|
|
workspaces: userspace/ksud_overlayfs
|
|
|
|
- name: Cache ksud_magic
|
|
uses: Swatinem/rust-cache@v2
|
|
with:
|
|
workspaces: userspace/ksud_magic
|
|
|
|
- name: Run Clippy
|
|
run: |
|
|
cross clippy --manifest-path userspace/ksud_magic/Cargo.toml --target aarch64-linux-android --release
|
|
cross clippy --manifest-path userspace/ksud_overlayfs/Cargo.toml --target aarch64-linux-android --release
|
|
|
|
cross clippy --manifest-path userspace/ksud_magic/Cargo.toml --target armv7-linux-androideabi --release
|
|
cross clippy --manifest-path userspace/ksud_overlayfs/Cargo.toml --target armv7-linux-androideabi --release
|
|
|
|
cross clippy --manifest-path userspace/ksud_magic/Cargo.toml --target x86_64-linux-android --release
|
|
cross clippy --manifest-path userspace/ksud_overlayfs/Cargo.toml --target x86_64-linux-android --release |