From 3be317bbb5b91e5d19ae3c762abd26c188e05b9a Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Fri, 27 Feb 2026 19:14:12 +0100 Subject: [PATCH] workflows: Add names to run steps --- .github/workflows/ci.yml | 18 ++++++++++++------ .github/workflows/update.yml | 3 ++- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fe3648..0629d1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,11 +14,13 @@ jobs: - uses: cachix/install-nix-action@v31 with: extra_nix_config: experimental-features = nix-command flakes pipe-operators - - id: checks + - name: Get checks + id: checks run: | checks=$(nix flake show --json | jq -c '.checks."x86_64-linux" | keys') printf "checks=%s" "$checks" >> "$GITHUB_OUTPUT" - - id: hosts + - name: Get hosts + id: hosts run: | hosts=$(nix eval .#nixosConfigurations --apply 'configs: configs @@ -43,7 +45,8 @@ jobs: name: sebastian-stork authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" useDaemon: false - - run: nix build .#checks.x86_64-linux.${{ matrix.check }} --print-build-logs + - name: Build check + run: nix build .#checks.x86_64-linux.${{ matrix.check }} --print-build-logs build-host: needs: parse-flake runs-on: ubuntu-latest @@ -61,7 +64,8 @@ jobs: name: sebastian-stork authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" useDaemon: false - - run: nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel --print-build-logs + - name: Build host + run: nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel --print-build-logs flake-check: needs: build-check runs-on: ubuntu-latest @@ -74,7 +78,8 @@ jobs: with: name: sebastian-stork authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - run: nix flake check --keep-going --print-build-logs + - name: Run flake check + run: nix flake check --keep-going --print-build-logs deploy: needs: [build-host, flake-check] runs-on: ubuntu-latest @@ -82,4 +87,5 @@ jobs: contents: write steps: - uses: actions/checkout@v5 - - run: git push origin HEAD:deploy --force + - name: Push to deploy branch + run: git push origin HEAD:deploy --force diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 75d0605..0cafcba 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -13,7 +13,8 @@ jobs: - uses: cachix/install-nix-action@v31 with: extra_nix_config: experimental-features = nix-command flakes pipe-operators - - run: | + - name: Update and push + run: | git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" nix flake update --commit-lock-file