Skip to content

ci: specify ndk version rather than using latest #677

ci: specify ndk version rather than using latest

ci: specify ndk version rather than using latest #677

Workflow file for this run

name: "lint"
on:
- push
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install just
# todo switch to apt once ubuntu-24.04 is available
# run: sudo apt-get install -y just
run: sudo snap install --edge --classic just
- uses: actions/setup-java@v4
with:
distribution: temurin # See 'Supported distributions' for available options
java-version: 17
- name: Install rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check formatting
run: just format-check
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y shellcheck fd-find
- name: Run shellcheck
run: fdfind --type file --extension sh --exec shellcheck {}