mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-21 22:24:32 +00:00
chore(ci): use the Go version found in go.mod (#118)
This commit is contained in:
parent
eda3b59f67
commit
80bdfe7243
3 changed files with 4 additions and 4 deletions
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.21.4
|
||||
go-version-file: "go.mod"
|
||||
- name: Run flaky tests sequentially
|
||||
run:
|
||||
| # Upstream flakes are race conditions exacerbated by concurrent tests
|
||||
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.21.4
|
||||
go-version-file: "go.mod"
|
||||
|
||||
- name: Run `go generate`
|
||||
run: go list ./... | grep -Pv "${EXCLUDE_REGEX}" | xargs go generate;
|
||||
|
|
|
|||
2
.github/workflows/golangci-lint.yml
vendored
2
.github/workflows/golangci-lint.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: stable
|
||||
go-version-file: "go.mod"
|
||||
- name: goheader
|
||||
# The goheader linter is only enabled in the CI so that it runs only on modified or new files
|
||||
# (see only-new-issues: true). It is disabled in .golangci.yml because
|
||||
|
|
|
|||
2
.github/workflows/rename-module.yml
vendored
2
.github/workflows/rename-module.yml
vendored
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.21.4
|
||||
go-version-file: "go.mod"
|
||||
|
||||
- name: Smoke tests
|
||||
# `go list` shows us the module name and grep will non-zero exit on mismatch
|
||||
|
|
|
|||
Loading…
Reference in a new issue