mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
.github: update
This commit is contained in:
parent
66c4af3e00
commit
a9f51b4337
1 changed files with 9 additions and 5 deletions
14
.github/workflows/go.yml
vendored
14
.github/workflows/go.yml
vendored
|
|
@ -1,8 +1,10 @@
|
|||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
@ -11,6 +13,8 @@ jobs:
|
|||
runs-on: self-hosted-ghr
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: false
|
||||
|
||||
# Cache build tools to avoid downloading them each time
|
||||
- uses: actions/cache@v4
|
||||
|
|
@ -41,14 +45,14 @@ jobs:
|
|||
- '1.23'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
cache-dependency-path: |
|
||||
go.sum
|
||||
build/checksums.txt
|
||||
cache: false
|
||||
|
||||
- name: Run tests
|
||||
run: go test ./...
|
||||
|
|
|
|||
Loading…
Reference in a new issue