Skip to content

Commit eda4ce7

Browse files
authored
Bump go version to v1.22.3 (#955)
Signed-off-by: Praveen Rewar <[email protected]>
1 parent e1977bd commit eda4ce7

File tree

7 files changed

+17
-19
lines changed

7 files changed

+17
-19
lines changed

.github/workflows/golangci-lint.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Set up Go
16-
uses: actions/setup-go@v2
16+
uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.22.2
19-
- uses: actions/checkout@v2
18+
go-version: '1.22'
19+
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: '0'
2222
- name: golangci-lint
23-
uses: golangci/golangci-lint-action@v3.4.0
23+
uses: golangci/golangci-lint-action@v6
2424
with:
25-
version: v1.52.2
25+
version: v1.58
2626
args: -v

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
id-token: write
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
2121

2222
- name: Set up Go
23-
uses: actions/setup-go@v2
23+
uses: actions/setup-go@v5
2424
with:
25-
go-version: 1.22.2
25+
go-version: '1.22'
2626

2727
- name: Set up Cosign
2828
uses: sigstore/cosign-installer@v3

.github/workflows/test-gh-k8s-1.16.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
steps:
1313
- name: Set up Go
14-
uses: actions/setup-go@v2
14+
uses: actions/setup-go@v5
1515
with:
16-
go-version: 1.22.2
16+
go-version: '1.22'
1717
- name: Check out code into the Go module directory
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
with:
2020
path: src/github.com/${{ github.repository }}
2121
fetch-depth: 0

.github/workflows/test-gh.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Set up Go
14-
uses: actions/setup-go@v2
14+
uses: actions/setup-go@v5
1515
with:
16-
go-version: 1.22.2
16+
go-version: '1.22'
1717
- name: Check out code into the Go module directory
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
with:
2020
path: src/github.com/${{ github.repository }}
2121
fetch-depth: 0

.github/workflows/trivy-scan.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Trivy CVE Dependency Scanner
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '0 0 * * *'
67

@@ -10,7 +11,7 @@ jobs:
1011
with:
1112
repo: carvel-dev/kapp
1213
tool: kapp
13-
goVersion: 1.22.2
14+
goVersion: '1.22'
1415
secrets:
1516
githubToken: ${{ secrets.GITHUB_TOKEN }}
1617
slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }}

.golangci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ linters:
44
enable:
55
- goheader
66
- revive
7-
- deadcode
87
- unused
98
disable-all: true
109
# all available settings of specific linters

go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module carvel.dev/kapp
22

3-
go 1.22.0
4-
5-
toolchain go1.22.2
3+
go 1.22.3
64

75
require (
86
github.com/cppforlife/cobrautil v0.0.0-20221130162803-acdfead391ef

0 commit comments

Comments
 (0)