Skip to content

Commit d2837f5

Browse files
committed
Update Go version to 1.25.0 in both workflows
- Upgrade from Go 1.20.14 to 1.25.0 for both deployment and PR validation - Should resolve Hugo module panic issues with newer Go runtime
1 parent 4042868 commit d2837f5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/hugo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@v5.2.0
2222
with:
23-
go-version: '1.20.14' # Pin to specific Go version for reproducible builds
23+
go-version: '1.25.0' # Pin to specific Go version for reproducible builds
2424

2525
- name: Setup Hugo
2626
uses: peaceiris/actions-hugo@v2.6.0

.github/workflows/pr-validation.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Go
2626
uses: actions/setup-go@v5.2.0
2727
with:
28-
go-version: '1.20.14'
28+
go-version: '1.25.0'
2929

3030
- name: Setup Hugo
3131
uses: peaceiris/actions-hugo@v2.6.0
@@ -34,7 +34,9 @@ jobs:
3434
extended: true
3535

3636
- name: Setup Hugo Modules
37-
run: hugo mod tidy
37+
run: |
38+
hugo mod tidy
39+
hugo mod get github.com/jpanther/congo/v2@v2.12.2
3840
3941
- name: Validate Hugo Configuration
4042
run: |

0 commit comments

Comments
 (0)