File tree Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Expand file tree Collapse file tree 1 file changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -5,29 +5,28 @@ name: build
5
5
6
6
on :
7
7
push :
8
- branches : [ "main" ]
8
+ branches : ["main"]
9
9
pull_request :
10
- branches : [ "main" ]
10
+ branches : ["main"]
11
11
12
12
jobs :
13
-
14
13
build :
15
14
runs-on : ubuntu-latest
16
15
steps :
17
- - uses : actions/checkout@v3
16
+ - uses : actions/checkout@v3
18
17
19
- - name : Set up Go
20
- uses : actions/setup-go@v4
21
- with :
22
- go-version : ' 1.20 '
18
+ - name : Set up Go
19
+ uses : actions/setup-go@v4
20
+ with :
21
+ go-version : " 1.22 "
23
22
24
- - name : Install dependencies
25
- run : |
26
- go get .
27
- go get golang.org/x/time@v0.3 .0
23
+ - name : Install dependencies
24
+ run : |
25
+ go get .
26
+ go get golang.org/x/time@v0.5 .0
28
27
29
- - name : Build
30
- run : go build -v ./...
28
+ - name : Build
29
+ run : go build -v ./...
31
30
32
- - name : Test
33
- run : go test -v ./...
31
+ - name : Test
32
+ run : go test -v ./...
You can’t perform that action at this time.
0 commit comments