ahuston-0 00b665c10c
Some checks failed
Check flake.lock / Check health of `flake.lock` (pull_request) Successful in 25s
Check Nix formatting / Perform Nix format checks (pull_request) Failing after 1m11s
Check Nix flake / Perform Nix flake checks (ubuntu-latest) (pull_request) Failing after 1m13s
Check Nix flake / Build nix outputs (ubuntu-latest) (pull_request) Failing after 1m16s
add continue-on-error to attic push
2025-03-04 01:33:19 -05:00

27 lines
695 B
YAML

name: "Check Nix formatting"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
merge_group:
jobs:
health-check:
name: "Perform Nix format 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 fmt -- --check .
- name: Push to Attic
run: nix ./utils/attic-push.bash
continue-on-error: true