Skip to content

Commit 16e4f54

Browse files
committed
feat: bump the golang version to 1.19
1 parent bcf980b commit 16e4f54

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: 1.14
19+
go-version: 1.19
2020
-
2121
name: Run GoReleaser
2222
uses: goreleaser/goreleaser-action@v2
2323
with:
2424
version: latest
2525
args: release --rm-dist
2626
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ jobs:
1818
uses: actions/checkout@v2
1919
- name: setup go
2020
uses: actions/setup-go@v2
21+
with:
22+
go-version: 1.19
2123
- name: test
22-
run: go test
24+
run: go test

go.mod

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module mkubectx
22

3-
go 1.14
3+
go 1.19
44

55
require (
66
github.com/fatih/color v1.9.0
@@ -9,3 +9,8 @@ require (
99
github.com/mitchellh/go-homedir v1.1.0
1010
gopkg.in/yaml.v2 v2.3.0
1111
)
12+
13+
require (
14+
github.com/mattn/go-colorable v0.1.4 // indirect
15+
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 // indirect
16+
)

0 commit comments

Comments
 (0)