Skip to content

Commit 1c77fab

Browse files
committed
chore(workflow): add set up go step
before: run make test failed in github worklow, cause go install go-xml successful but can not found binary file after: add step to set up go version git push
1 parent 7c2afcd commit 1c77fab

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/makefile.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- name: Setup Go
16+
uses: actions/setup-go@v1
17+
with:
18+
go-version: 1.18
19+
20+
- name: Checkout
21+
uses: actions/checkout@v3
1622

1723
- name: Build
1824
run: make build

0 commit comments

Comments
 (0)