Skip to content

ci(lint): use wasm toolchain from nix #9

ci(lint): use wasm toolchain from nix

ci(lint): use wasm toolchain from nix #9

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches: [main]
paths: ["**.rs", "**.toml", "**.lock"]
jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- name: clippy
run: |
nix develop --command cargo clippy
nix develop --command cargo clippy --target wasm32-unknown-unknown --lib
nix develop --command cargo clippy --target wasm32-unknown-unknown --lib --all-features
- name: rustfmt check
run: |
cargo fmt --all --check