Skip to content

Commit 8a1d7a7

Browse files
committed
chore(ci): use the same go version as in go.mod
1 parent eda3b59 commit 8a1d7a7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: 1.21.4
20+
go-version: 1.20
2121
- name: Run flaky tests sequentially
2222
run:
2323
| # Upstream flakes are race conditions exacerbated by concurrent tests
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Go
3636
uses: actions/setup-go@v5
3737
with:
38-
go-version: 1.21.4
38+
go-version: 1.20
3939

4040
- name: Run `go generate`
4141
run: go list ./... | grep -Pv "${EXCLUDE_REGEX}" | xargs go generate;

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-go@v5
2323
with:
24-
go-version: stable
24+
go-version: 1.20
2525
- name: goheader
2626
# The goheader linter is only enabled in the CI so that it runs only on modified or new files
2727
# (see only-new-issues: true). It is disabled in .golangci.yml because

.github/workflows/rename-module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set up Go
4747
uses: actions/setup-go@v5
4848
with:
49-
go-version: 1.21.4
49+
go-version: 1.20
5050

5151
- name: Smoke tests
5252
# `go list` shows us the module name and grep will non-zero exit on mismatch

0 commit comments

Comments
 (0)