Skip to content

fix in changelog

fix in changelog #1112

Workflow file for this run

name: Rust
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: arduino/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: cargo build
- name: Cargo Check All Features
run: cargo check --all-features
- name: Build Demo Native
run: env -C demo_native cargo build
wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo install [email protected] --locked
- name: Build Demo Web
run: env -C demo_web trunk build
android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Install Cargo NDK
run: cargo install [email protected] --locked
- name: Build APK
working-directory: ./demo_android
run: make apk
tests-lints:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: arduino/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Tests
run: cargo test --verbose
- name: Formatting
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-features -- -D warnings
- name: Documentation
run: cargo doc --no-deps
- name: Typos
uses: crate-ci/[email protected]