[X] I have read the latest README and followed the instructions.
[X] I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.
Describe your question
Hi, I'm deploy my hugo blog with hugo modules, when I write the actions and push to repository, the build log report the go version is mismatched, detail in the log out section. I want to set go version to 1.23, have any option can let it work?
Run hugo --minify
hugo --minify
shell: /usr/bin/bash -e {0}
go: errors parsing go.mod:
Total in 50 ms
Error: failed to load modules: failed to download modules: failed to execute 'go [mod download -modcacherw]': failed to execute binary "go" with args [mod download -modcacherw]: go: errors parsing go.mod:
/home/runner/work/c4dr01d.github.io/c4dr01d.github.io/go.mod:3: invalid go version '1.[2](https://github.com/c4dr01d/c4dr01d.github.io/actions/runs/6610778012/job/17953372400#step:6:2)1.[3](https://github.com/c4dr01d/c4dr01d.github.io/actions/runs/6610778012/job/17953372400#step:6:3)': must match format 1.23
*errors.errorString
/home/runner/work/c[4](https://github.com/c4dr01d/c4dr01d.github.io/actions/runs/6610778012/job/17953372400#step:6:5)dr01d.github.io/c4dr01d.github.io/go.mod:3: invalid go version '1.21.3': must match format 1.23
Error: Process completed with exit code 1.
Checklist
Describe your question
Hi, I'm deploy my hugo blog with hugo modules, when I write the actions and push to repository, the build log report the go version is mismatched, detail in the log out section. I want to set go version to 1.23, have any option can let it work?
Relevant links
Relevant log output
Additional context.
No any other context about this question