upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.github/workflows/clippy_rustfmt_test.yaml
blob: 3fe997621c75fe3cb400901dc041c64e1c280802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
on: push

name: build test

jobs:
  ci:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@v5
      - uses: cachix/install-nix-action@v31
        with:
          nix_path: nixpkgs=channel:nixos-unstable
      - run: nix develop --command cargo clippy
      - run: nix develop --command cargo fmt --all -- --check
      - run: nix develop --command cargo test