nix-dotfiles/.github/workflows/flake-health-checks.yml
ahuston-0 ff00f134dd
Some checks failed
Check Nix flake / Perform Nix flake checks (pull_request) Failing after 57s
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 1m3s
Check Nix formatting / Perform Nix format checks (pull_request) Failing after 1m32s
remove attic push
2025-05-26 18:32:30 -04:00

23 lines
692 B
YAML

name: "Check Nix flake"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
merge_group:
jobs:
health-check:
name: "Perform Nix flake checks"
runs-on: ubuntu-latest
steps:
- uses: DeterminateSystems/nix-installer-action@main
- name: Setup Attic cache
uses: ryanccn/attic-action@v0
with:
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
skip-push: "true"
- uses: actions/checkout@v4
- run: nix flake check --accept-flake-config