Skip to content

Commit ac8e814

Browse files
committed
Update Go version, GitHub Actions and vendor
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent b7bb7cb commit ac8e814

File tree

186 files changed

+12929
-6243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+12929
-6243
lines changed

Diff for: .github/workflows/build.yaml

+3-7
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,14 @@ on:
1010

1111
jobs:
1212
build:
13-
strategy:
14-
matrix:
15-
go-version: [1.20.x]
16-
os: [ubuntu-latest]
17-
runs-on: ${{ matrix.os }}
13+
runs-on: ubuntu-latest
1814
steps:
1915
- uses: actions/checkout@master
2016
with:
2117
fetch-depth: 1
2218
- name: Install Go
23-
uses: actions/setup-go@v2
19+
uses: actions/setup-go@master
2420
with:
25-
go-version: ${{ matrix.go-version }}
21+
go-version: "1.23.x"
2622
- name: Make all
2723
run: make all

Diff for: .github/workflows/publish.yaml

+4-8
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,19 @@ on:
77

88
jobs:
99
publish:
10-
strategy:
11-
matrix:
12-
go-version: [ 1.20.x ]
13-
os: [ ubuntu-latest ]
14-
runs-on: ${{ matrix.os }}
10+
runs-on: ubuntu-latest
1511
steps:
1612
- uses: actions/checkout@master
1713
with:
1814
fetch-depth: 1
1915
- name: Install Go
20-
uses: actions/setup-go@v2
16+
uses: actions/setup-go@master
2117
with:
22-
go-version: ${{ matrix.go-version }}
18+
go-version: "1.23.x"
2319
- name: Make all
2420
run: make all
2521
- name: Upload release binaries
26-
uses: alexellis/[email protected].0
22+
uses: alexellis/[email protected].1
2723
env:
2824
GITHUB_TOKEN: ${{ github.token }}
2925
with:

Diff for: go.mod

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
module github.com/alexellis/k3sup
22

3-
go 1.21
3+
go 1.23
44

55
require (
66
github.com/alexellis/go-execute/v2 v2.2.1
77
github.com/mitchellh/go-homedir v1.1.0
88
github.com/morikuni/aec v1.0.0
9-
github.com/spf13/cobra v1.8.0
10-
golang.org/x/crypto v0.17.0
11-
golang.org/x/term v0.15.0
9+
github.com/spf13/cobra v1.8.1
10+
golang.org/x/crypto v0.32.0
11+
golang.org/x/term v0.28.0
1212
)
1313

1414
require (
1515
github.com/inconshreveable/mousetrap v1.1.0 // indirect
1616
github.com/spf13/pflag v1.0.5 // indirect
17-
golang.org/x/sys v0.15.0 // indirect
17+
golang.org/x/sys v0.29.0 // indirect
1818
)

Diff for: go.sum

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ github.com/alexellis/go-execute/v2 v2.2.1 h1:4Ye3jiCKQarstODOEmqDSRCqxMHLkC92Bhs
44
github.com/alexellis/go-execute/v2 v2.2.1/go.mod h1:FMdRnUTiFAmYXcv23txrp3VYZfLo24nMpiIneWgKHTQ=
55
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
66
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
7+
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
78
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
89
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
910
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
@@ -15,13 +16,21 @@ github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
1516
github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
1617
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
1718
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
19+
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
20+
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
1821
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
1922
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
2023
golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
2124
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
25+
golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc=
26+
golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc=
2227
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
2328
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
29+
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
30+
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
2431
golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4=
2532
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
33+
golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg=
34+
golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek=
2635
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2736
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

Diff for: vendor/github.com/spf13/cobra/.golangci.yml

+8-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: vendor/github.com/spf13/cobra/active_help.go

+3-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: vendor/github.com/spf13/cobra/args.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: vendor/github.com/spf13/cobra/bash_completions.go

+11-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: vendor/github.com/spf13/cobra/cobra.go

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)