Skip to content

Commit 93ecbc6

Browse files
committed
pls
1 parent 992d8e6 commit 93ecbc6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,19 @@ jobs:
4242
- name: checkout
4343
uses: actions/checkout@v3
4444

45-
- name: build for integration test
46-
uses: docker://golang:1.20
45+
- name: install go
46+
uses: actions/setup-go@v4
4747
with:
48-
entrypoint: make
49-
args: build-static-ci
48+
# use version from go.mod file
49+
go-version-file: 'go.mod'
50+
cache: true
51+
check-latest: true
52+
53+
- name: build for integration test
5054
env:
5155
GOOS: linux
5256
CGO_ENABLED: '0'
57+
run: make build-static-ci
5358

5459
- name: integration test with fake server
5560
run: make docker-build && make docker-test

0 commit comments

Comments
 (0)