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: c22d1873375ecd2be62bd82ff8426ec6c2930f36 (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@v3
    - uses: cachix/install-nix-action@v22
      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