Skip to content

Bump dtolnay/rust-toolchain from 1.80.0 to 1.90.0 in /.github/workflows #13

Bump dtolnay/rust-toolchain from 1.80.0 to 1.90.0 in /.github/workflows

Bump dtolnay/rust-toolchain from 1.80.0 to 1.90.0 in /.github/workflows #13

Workflow file for this run

on:
push:
pull_request:
jobs:
rust:
name: Lint Rust code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup target add aarch64-linux-android
- name: Cargo fmt
run: cargo fmt --all -- --check
- name: Cargo clippy
run: cargo clippy --workspace --all-targets --target aarch64-linux-android -- -D warnings
- name: Cargo build-test docs
# Must build _for_ the host as --target makes this a no-op
run: cargo test --doc
- name: Test documentation
env:
RUSTDOCFLAGS: -Dwarnings
run: cargo doc --workspace --target aarch64-linux-android
rust-msrv:
name: Build-test MSRV (1.80) with minimal crate dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: Generate minimal-version dependencies
run: cargo -Zminimal-versions generate-lockfile
- uses: dtolnay/rust-toolchain@1.90.0
with:
targets: aarch64-linux-android
- name: Cargo check
run: cargo check --workspace --exclude intent-example --all-targets --target aarch64-linux-android