Skip to content

Commit 6007351

Browse files
Fix build-index workflow: remove go mod init since go.mod is committed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 43d3cdf commit 6007351

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/build-index.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build Index
22

33
on:
44
push:
5-
paths: [repos.yaml, generate-index.go]
5+
paths: [repos.yaml, generate-index.go, go.mod, go.sum, .github/workflows/build-index.yml]
66
workflow_dispatch:
77

88
permissions:
@@ -27,11 +27,6 @@ jobs:
2727
with:
2828
go-version: '1.24'
2929

30-
- name: Init Go module
31-
run: |
32-
go mod init generate-index
33-
go mod tidy
34-
3530
- name: Generate site
3631
run: go run generate-index.go
3732

0 commit comments

Comments
 (0)