Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit 33f60ab

Browse files
committed
main-tests.yml: setup-go added to build part, Go cache removed
1 parent 812ff96 commit 33f60ab

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/main-tests.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,10 @@ jobs:
135135
override: false
136136
- name: Add target
137137
run: rustup target add x86_64-unknown-linux-gnu
138-
# Go cache for building geth-utils
139-
- name: Go cache
140-
uses: actions/cache@v3
138+
- name: Setup golang
139+
uses: actions/setup-go@v4
141140
with:
142-
path: |
143-
~/.cache/go-build
144-
~/go/pkg/mod
145-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
146-
restore-keys: |
147-
${{ runner.os }}-go-
141+
go-version: ~1.21
148142
- name: Cargo cache
149143
uses: actions/cache@v3
150144
with:

0 commit comments

Comments
 (0)