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
2024-09-17 16:58:45 +02:00
- uses: "https://github.com/DeterminateSystems/nix-installer-action@ab6bcb2d5af0e904d04aea750e2089e9dc4cbfdd" # v13
- uses: "https://github.com/DeterminateSystems/magic-nix-cache-action@b46e247b898aa56e6d2d2e728dc6df6c84fdb738" # v7
- run: nix flake check --show-trace