-
-
Notifications
You must be signed in to change notification settings - Fork 29
43 lines (40 loc) · 1.14 KB
/
checker.yml
File metadata and controls
43 lines (40 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Checker ✅
on:
schedule:
- cron: "37 13 14 * *"
push:
paths:
- "lib/**.toml"
- "lib/**-schema.json"
workflow_dispatch:
jobs:
flake-checker:
name: Flake Lock Checker
runs-on: ubuntu-slim
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3
with:
extra-conf: |
eval-cores = 0
- uses: DeterminateSystems/flakehub-cache-action@v3
- uses: DeterminateSystems/flake-checker-action@v12
toml-lint:
name: TOML Registry Lint
runs-on: ubuntu-slim
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/determinate-nix-action@v3
- name: Validate registry schemas
run: |
nix shell nixpkgs#taplo --command taplo lint \
--schema "file://$(pwd)/lib/registry-systems-schema.json" \
lib/registry-systems.toml
nix shell nixpkgs#taplo --command taplo lint \
--schema "file://$(pwd)/lib/registry-users-schema.json" \
lib/registry-users.toml