Skip to content

Commit 6b69f6a

Browse files
committed
update to go 1.21 to fix CVE-2023-44487
Update actions version
1 parent cab064e commit 6b69f6a

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ jobs:
77
steps:
88
-
99
name: Checkout repository
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313
-
1414
name: Setup Go
15-
uses: actions/setup-go@v2
15+
uses: actions/setup-go@v4
1616
with:
17-
version: 1.14
17+
version: 1.21
1818
-
1919
name: Download Go tools
2020
run: |
21-
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.25.0
21+
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.2
2222
go get golang.org/x/tools/cmd/goimports
2323
-
2424
name: Run lint

go.mod

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@ module github.com/opendevstack/tailor
22

33
require (
44
github.com/alecthomas/kingpin v2.2.6+incompatible
5-
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc // indirect
6-
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect
75
github.com/fatih/color v1.7.0
86
github.com/ghodss/yaml v1.0.0
97
github.com/google/go-cmp v0.3.1
10-
github.com/mattn/go-colorable v0.0.9 // indirect
11-
github.com/mattn/go-isatty v0.0.3 // indirect
128
github.com/pmezard/go-difflib v1.0.0
13-
github.com/stretchr/testify v1.3.0 // indirect
149
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
1510
golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac
1611
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208
12+
)
13+
14+
require (
15+
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc // indirect
16+
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect
17+
github.com/mattn/go-colorable v0.0.9 // indirect
18+
github.com/mattn/go-isatty v0.0.3 // indirect
19+
github.com/stretchr/testify v1.3.0 // indirect
1720
golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3 // indirect
1821
gopkg.in/yaml.v2 v2.2.1 // indirect
1922
)
2023

21-
go 1.14
24+
go 1.21

0 commit comments

Comments
 (0)