Skip to content

Bump the ruffle group with 9 updates #1311

Bump the ruffle group with 9 updates

Bump the ruffle group with 9 updates #1311

Workflow file for this run

name: Lint & Format
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
run: |
rustup show
rustup target add aarch64-linux-android
rustup component add rustfmt clippy
- name: Cache Cargo output
uses: Swatinem/rust-cache@v2
with:
shared-key: clippy
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Check formatting
run: cargo fmt --all -- --check
- name: Install cargo-ndk
run: cargo install cargo-ndk
- name: Check clippy
run: cargo ndk --target arm64-v8a --platform 26 -- clippy --all --all-features --tests -- -D warnings
android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '17'
- uses: gradle/actions/wrapper-validation@v5
name: Validate Gradle Wrapper
- name: Check ktlint
run: ./gradlew ktlintCheck
- name: Check lint
run: ./gradlew lint