Skip to content

Commit 80f0668

Browse files
committed
chore(ci): GitHub workaround (hopefully)
1 parent 38cd4e0 commit 80f0668

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: git diff
6363
run: git diff --exit-code
6464

65-
go_tidy:
65+
go_tidy_matrix:
6666
runs-on: ubuntu-latest
6767
strategy:
6868
matrix:
@@ -78,3 +78,8 @@ jobs:
7878
go-version-file: "${{ matrix.dir }}/go.mod"
7979
- run: go mod tidy
8080
- run: git diff --exit-code
81+
82+
go_tidy:
83+
# Each matrix instance runs as a different name, which doesn't play nicely
84+
# with branch-protection rules. We instead require this job.
85+
needs: go_tidy_matrix

0 commit comments

Comments
 (0)