Skip to content

Commit e5eee40

Browse files
authored
go.yml: use stable go-version (#162)
Previously we were using the version in go.mod. We're thinking we shouldn't update that unless we want to use new features of the latest go release. However, for the build / test actions, it seems important to test using a version we'd recommend for our clients. Fix #154
1 parent 39c32da commit e5eee40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/go.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
2424
with:
25-
go-version-file: 'go.mod'
25+
# TODO: enable [matrix testing](https://github.com/marketplace/actions/setup-go-environment#matrix-testing)
26+
# so that we can test on both stable, oldstable and the oldest version
27+
# we currently support (as specified in go.mod).
28+
go-version: 'stable'
2629

2730
- name: Build
2831
run: go build -v ./...

0 commit comments

Comments
 (0)