dotfiles/.github/workflows/check.yml

18 lines
427 B
YAML
Raw Normal View History

2024-05-16 02:06:57 +02:00
env:
NIX_CONFIG: "accept-flake-config = true"
2023-02-20 06:22:25 +01:00
jobs:
check:
2024-05-11 03:00:26 +02:00
"runs-on": "ubuntu-latest"
2023-02-20 06:22:25 +01:00
steps:
2024-05-16 02:06:57 +02:00
- uses: "actions/checkout@v4.1.5"
- uses: "DeterminateSystems/flake-checker-action@v7"
2024-05-11 03:00:26 +02:00
- uses: "DeterminateSystems/nix-installer-action@v11"
- uses: "DeterminateSystems/magic-nix-cache-action@v6"
2024-05-16 02:06:57 +02:00
- run: "nix flake check --show-trace"
2024-05-11 03:00:26 +02:00
name: check
'on':
push:
paths:
- "**.nix"
- "**.lock"