From c71a464b76e406dafda2e2857216f64a53e7f6c1 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Mon, 3 Mar 2025 23:42:39 -0500 Subject: [PATCH] add build checks to flake-health-checks --- .github/workflows/flake-health-checks.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/flake-health-checks.yml b/.github/workflows/flake-health-checks.yml index dcd7145..a80e3ba 100644 --- a/.github/workflows/flake-health-checks.yml +++ b/.github/workflows/flake-health-checks.yml @@ -25,3 +25,22 @@ jobs: - uses: actions/checkout@v4 - run: nix flake check --accept-flake-config - run: nix ./utils/attic-push.bash + build-checks: + name: "Build nix outputs" + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [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 + - name: Build all outputs + run: nix run git+https://nayeonie.com/ahuston-0/flake-update-diff -- --build . + - run: nix ./utils/attic-push.bash