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

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

jobs:
  format:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: ❄️ Install Nix
        uses: DeterminateSystems/nix-installer-action@v16

      - name: ❄️ Check formatting
        run: nix fmt