Skip to content

first commit

first commit #4

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- { name: "x86_64", target: "x86_64-unknown-linux-musl" }
- { name: "aarch64", target: "aarch64-unknown-linux-musl" }
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: ${{ matrix.arch.target }}
- uses: Swatinem/rust-cache@v2
with:
prefix: ${{ matrix.arch.name }}
- run: cargo clippy --target ${{ matrix.arch.target }} --all-targets -- -D warnings
- run: cargo fmt -- --check
- run: cargo test --target ${{ matrix.arch.target }} --all-features