mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +00:00
.github: go version matrix
This commit is contained in:
parent
746eceaa49
commit
3596b2e970
1 changed files with 11 additions and 18 deletions
29
.github/workflows/go.yml
vendored
29
.github/workflows/go.yml
vendored
|
|
@ -29,32 +29,25 @@ jobs:
|
||||||
go run build/ci.go check_generate
|
go run build/ci.go check_generate
|
||||||
go run build/ci.go check_baddeps
|
go run build/ci.go check_baddeps
|
||||||
|
|
||||||
test-latest:
|
test:
|
||||||
name: Tests (Go 1.24)
|
name: Test
|
||||||
needs: lint
|
needs: lint
|
||||||
runs-on: self-hosted-ghr
|
runs-on: self-hosted-ghr
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
go:
|
||||||
|
- '1.24'
|
||||||
|
- '1.23'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.24
|
go-version: ${{ matrix.go }}
|
||||||
|
cache-dependency-path: |
|
||||||
- name: Run tests
|
go.sum
|
||||||
run: go test ./...
|
build/checksums.txt
|
||||||
|
|
||||||
test-prev:
|
|
||||||
name: Tests (Go 1.23)
|
|
||||||
needs: lint
|
|
||||||
runs-on: self-hosted-ghr
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Go
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: 1.23
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue