Skip to content

Commit 2dcd07f

Browse files
committed
Update actions
1 parent 6ba4750 commit 2dcd07f

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/go.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
name: Go
2-
on: [push]
2+
on: [ push ]
33
jobs:
44

55
build:
66
name: Build
77
runs-on: ubuntu-latest
88
steps:
99

10-
- name: Set up Go 1.20
11-
uses: actions/setup-go@v1
12-
with:
13-
go-version: 1.20
14-
id: go
10+
- uses: actions/checkout@v5
11+
- uses: actions/setup-go@v6
12+
with:
13+
go-version: '1.17'
1514

16-
- name: Check out code into the Go module directory
17-
uses: actions/checkout@v2
18-
19-
- name: Test
20-
run: go test ./...
15+
- name: Test
16+
run: go test ./...

0 commit comments

Comments
 (0)