mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
Merge branch 'master' of https://github.com/idotalk/parallel-geth
This commit is contained in:
commit
a22c4e0987
1 changed files with 5 additions and 5 deletions
10
.github/workflows/go.yml
vendored
10
.github/workflows/go.yml
vendored
|
|
@ -10,13 +10,13 @@ on:
|
|||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: self-hosted-ghr
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: false
|
||||
|
||||
# Cache build tools to avoid downloading them each time
|
||||
# Kept your custom cache for general build tools if needed
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: build/cache
|
||||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.24
|
||||
cache: false
|
||||
cache: true # Automatically handles Go module and build caching
|
||||
|
||||
- name: Run linters
|
||||
run: |
|
||||
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
test:
|
||||
name: Test
|
||||
needs: lint
|
||||
runs-on: self-hosted-ghr
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
go:
|
||||
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
cache: false
|
||||
cache: true # Speeds up matrix testing by caching modules across runs
|
||||
|
||||
- name: Run tests
|
||||
run: go test ./...
|
||||
|
|
|
|||
Loading…
Reference in a new issue