From 9a1078f6009520ddf529b2e2684bbf95c5776117 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Mon, 12 Oct 2026 20:36:06 +0000 Subject: [PATCH] ci: drop the build and flakes jobs nixbot builds every flake output and check of devshell. The Actions matrix duplicated it and ran on runners that GitHub retired (ubuntu-20.04, macos-11, macos-12), so main stayed red. The template devshell sanity check is not covered by a flake check. Assisted-by: Claude Code (claude-opus-5) Change-Id: I22c60fd501aec17ae61531d0b3ac42533c57ff85 --- .github/workflows/nix.yml | 44 --------------------------------------- 1 file changed, 44 deletions(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 7e3bbcb..6ea65f5 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -8,50 +8,6 @@ on: pull_request: workflow_dispatch: jobs: - build: - strategy: - matrix: - os: [ ubuntu-20.04, ubuntu-22.04, macos-11, macos-12 ] - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v6 - - uses: cachix/install-nix-action@v31 - - uses: cachix/cachix-action@v16 - with: - name: numtide - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: | - export PRJ_ROOT=$PWD - $(./shell.nix)/entrypoint --pure bash -c "echo OK" - - run: nix-shell --run "echo OK" - - run: nix-build - flakes: - strategy: - matrix: - os: [ ubuntu-20.04, ubuntu-22.04, macos-11, macos-12 ] - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v6 - with: - # Nix Flakes doesn't work on shallow clones - fetch-depth: 0 - - uses: cachix/install-nix-action@v31 - - uses: cachix/cachix-action@v16 - with: - name: numtide - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - run: nix flake check - - name: Run devshell entry sanity checks - run: | - nix develop -c echo OK - for tmpl in ./templates/*; do - if ! [ -d "$tmpl" ]; then - continue - fi - nix develop --override-input devshell . "$tmpl" -c echo OK - done - - name: Run nix flake archive - run: nix flake archive docs: strategy: matrix: