Skip to content

build: update nixpkgs, cargo and crates #421

build: update nixpkgs, cargo and crates

build: update nixpkgs, cargo and crates #421

Workflow file for this run

name: Code Linter
on:
merge_group:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
jobs:
rustlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-24.05
- name: nix-shell
run: nix-shell --pure --run exit
- name: cargo-clippy
run: nix-shell --pure --run ./scripts/rust/linter.sh
- name: cargo-fmt
run: nix-shell --pure --run "FMT_OPTS=--check ./scripts/rust/style.sh"