Skip to content

Commit 1529b87

Browse files
committed
ci: run nix workflow on all branches
Remove branch restriction from nix workflow to run on all pushes, not just main branch. This ensures CI validation runs on feature branches and pull requests.
1 parent 3fbee1e commit 1529b87

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/nix.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
name: nix
33
on:
44
push:
5-
branches:
6-
- main
75
pull_request:
86
permissions:
97
contents: read
@@ -20,7 +18,7 @@ jobs:
2018
go-version: ['124', '125']
2119
steps:
2220
- name: Checkout
23-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcf5dd907a8 # v5
21+
uses: actions/checkout@v5
2422
- name: Install Nix
2523
uses: cachix/install-nix-action@v30
2624
with:
@@ -44,7 +42,7 @@ jobs:
4442
runs-on: ubuntu-24.04
4543
steps:
4644
- name: Checkout
47-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcf5dd907a8 # v5
45+
uses: actions/checkout@v5
4846
- name: Install Nix
4947
uses: cachix/install-nix-action@v30
5048
with:

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@
342342
gofumpt
343343
jq
344344
config.treefmt.build.wrapper
345+
act
345346
];
346347

347348
shellHook = ''

0 commit comments

Comments
 (0)