File tree Expand file tree Collapse file tree 2 files changed +15
-19
lines changed Expand file tree Collapse file tree 2 files changed +15
-19
lines changed Original file line number Diff line number Diff line change 7
7
build :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v2
11
- - uses : actions/setup-go@v2
10
+ - name : Checkout repository
11
+ uses : actions/checkout@v2
12
+ - name : Setup Go
13
+ uses : actions/setup-go@v2
12
14
with :
13
- go-version : ' 1.14 '
14
- - uses : actions/cache@v2.1.4
15
+ go-version : ' 1.16 '
16
+ - uses : actions/cache@v2
15
17
with :
16
18
path : ~/go/pkg/mod
17
19
key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
18
20
restore-keys : ${{ runner.os }}-go-
19
21
- name : Build
20
- run : CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"
21
- build-docker :
22
- runs-on : ubuntu-latest
23
- steps :
24
- - uses : actions/checkout@v2
25
- - name : build docker image
26
- run : docker build .
22
+ run : make
27
23
lint :
28
24
runs-on : ubuntu-latest
29
25
steps :
30
- - uses : actions/checkout@v2
31
- - uses : actions/setup-go@v2
26
+ - name : Checkout repository
27
+ uses : actions/checkout@v2
28
+ - name : Setup Go
29
+ uses : actions/setup-go@v2
32
30
with :
33
- go-version : ' 1.14 '
34
- - uses : actions/cache@v2.1.4
31
+ go-version : ' 1.16 '
32
+ - uses : actions/cache@v2
35
33
with :
36
34
path : ~/go/pkg/mod
37
35
key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
38
- restore-keys : |
39
- ${{ runner.os }}-go-
36
+ restore-keys : ${{ runner.os }}-go-
40
37
- name : Lint
41
38
run : |
42
39
go get -u golang.org/x/lint/golint
Original file line number Diff line number Diff line change 1
1
module github.com/jef/audit-org-keys
2
2
3
- go 1.14
3
+ go 1.16
4
4
5
5
require (
6
6
github.com/olekukonko/tablewriter v0.0.5
7
7
go.uber.org/zap v1.16.0
8
- gopkg.in/yaml.v2 v2.2.8 // indirect
9
8
)
You can’t perform that action at this time.
0 commit comments