aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: 31327cee1201dae7df8a1b9e76fb33bbeecdad0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: CI

on:
  push:
    branches: ["main"]
  pull_request:
    branches: ["main"]

jobs:
  format:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: DeterminateSystems/nix-installer-action@v16
      - name: check formatting
        run: nix develop --command treefmt
      - name: check configuration
        run: nix flake check --all-systems