File tree 8 files changed +17
-696
lines changed 8 files changed +17
-696
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,17 @@ jobs:
21
21
- name : Set up Go
22
22
uses : actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab
23
23
with :
24
- go-version : 1.17.8
24
+ go-version : 1.18.0
25
25
26
26
- name : Run static checks
27
- uses : golangci/golangci-lint-action@b517f99ae23d86ecc4c0dec08dcf48d2336abc29
28
- with :
29
- version : v1.44.2
30
- args : --config=.golangci.yml --verbose
31
- skip-cache : true
27
+ run : make check
28
+ # TODO: uncomment config below and remove `run: make check` once a
29
+ # version of golangci-lint with support for Go 1.18 is released.
30
+ # uses: golangci/golangci-lint-action@b517f99ae23d86ecc4c0dec08dcf48d2336abc29
31
+ # with:
32
+ # version: v1.44.2
33
+ # args: --config=.golangci.yml --verbose
34
+ # skip-cache: true
32
35
33
36
- name : Check module vendoring
34
37
run : |
Original file line number Diff line number Diff line change 27
27
- name : Set up Go
28
28
uses : actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab
29
29
with :
30
- go-version : 1.17.8
30
+ go-version : 1.18.0
31
31
32
32
- name : Set up Go for root
33
33
run : |
Original file line number Diff line number Diff line change 54
54
- name : Set up Go
55
55
uses : actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab
56
56
with :
57
- go-version : 1.17.8
57
+ go-version : 1.18.0
58
58
59
59
- name : Set up job variables
60
60
id : vars
Original file line number Diff line number Diff line change 18
18
- name : Set up Go
19
19
uses : actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab
20
20
with :
21
- go-version : 1.17.8
21
+ go-version : 1.18.0
22
22
23
23
- name : Generate the artifacts
24
24
run : make release
Original file line number Diff line number Diff line change @@ -25,16 +25,16 @@ linters-settings:
25
25
goimports :
26
26
local-prefixes : github.com/cilium/cilium-cli
27
27
gosimple :
28
- go : " 1.17 "
28
+ go : " 1.18 "
29
29
govet :
30
30
enable-all : true
31
31
disable :
32
32
- fieldalignment
33
33
- shadow
34
34
staticcheck :
35
- go : " 1.17 "
35
+ go : " 1.18 "
36
36
unused :
37
- go : " 1.17 "
37
+ go : " 1.18 "
38
38
39
39
issues :
40
40
# This also warns about credential name variables which are false positives.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ release:
26
26
--env " RELEASE_GID=$( RELEASE_GID) " \
27
27
--rm \
28
28
--workdir /cilium \
29
- --volume ` pwd` :/cilium docker.io/library/golang:1.17.8 -alpine3.15 \
29
+ --volume ` pwd` :/cilium docker.io/library/golang:1.18.0 -alpine3.15 \
30
30
sh -c " apk add --no-cache make git && make local-release VERSION=${VERSION} "
31
31
32
32
local-release : clean
Original file line number Diff line number Diff line change 1
1
module github.com/cilium/cilium-cli
2
2
3
- go 1.17
3
+ go 1.18
4
4
5
5
// Replace directives from github.com/cilium/cilium. Keep in sync when updating Cilium!
6
6
replace (
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments