dotfiles/.forgejo/workflows/check.yml

22 lines
682 B
YAML
Raw Normal View History

2024-09-17 16:58:45 +02:00
on:
push:
paths:
- "**.nix"
- "**.lock"
workflow_dispatch:
env:
NIX_CONFIG: "accept-flake-config = true"
jobs:
check:
runs-on: "ubuntu-latest"
steps:
- uses: "https://github.com/actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7
- uses: "https://github.com/DeterminateSystems/flake-checker-action@078f5f7f47ee188aa6cb472527ca5984e195222d" # v9
- uses: "https://github.com/DeterminateSystems/nix-installer-action@da36cb69b1c3247ad7a1f931ebfd954a1105ef14" # v14
- uses: "https://github.com/DeterminateSystems/magic-nix-cache-action@87b14cf437d03d37989d87f0fa5ce4f5dc1a330b" # v8
2024-09-17 16:58:45 +02:00
- run: nix flake check --show-trace