File tree Expand file tree Collapse file tree 1 file changed +11
-18
lines changed Expand file tree Collapse file tree 1 file changed +11
-18
lines changed Original file line number Diff line number Diff line change 1
1
name : Go
2
2
on : [push]
3
3
jobs :
4
-
5
4
build :
6
5
name : Build
7
6
runs-on : ubuntu-latest
8
7
steps :
8
+ - name : Set up Go 1.13
9
+ uses : actions/setup-go@v1
10
+ with :
11
+ go-version : 1.13
12
+ id : go
9
13
10
- - name : Set up Go 1.13
11
- uses : actions/setup-go@v1
12
- with :
13
- go-version : 1.13
14
- id : go
15
-
16
- - name : Check out code into the Go module directory
17
- uses : actions/checkout@v2
14
+ - name : Check out code into the Go module directory
15
+ uses : actions/checkout@v2
18
16
19
- - name : Get dependencies
20
- run : |
21
- go get -v -t -d ./...
22
- if [ -f Gopkg.toml ]; then
23
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
24
- dep ensure
25
- fi
17
+ - name : Get dependencies
18
+ run : go get -v -t -d
26
19
27
- - name : Build
28
- run : go build -v .
20
+ - name : Build
21
+ run : go build -v .
You can’t perform that action at this time.
0 commit comments