aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/check.yml
blob: e7560e6b91d3ce29ab5a7c55c03f2e5bdf9d4f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Check Flake

on:
  workflow_dispatch:
  pull_request:
    paths:
      - "**.nix"
      - "**.lock"
      - ".github/workflows/check.yml"
  push:
    paths:
      - "**.nix"
      - "**.lock"
      - ".github/workflows/check.yml"

jobs:
  check:
    # uses the local reusable workflow
    uses: ./.github/workflows/nix.yml
    secrets:
      GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
    with:
      command: nix flake check --accept-flake-config