Skip to content

Commit 8fa865b

Browse files
authoredDec 3, 2023
Merge pull request #2609 from inteon/bump_golang_in_ci
✨Bump golang version in GH actions
2 parents 0376af3 + fc88f2b commit 8fa865b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎.github/workflows/golangci-lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
steps:
1717
- uses: actions/setup-go@v4
1818
with:
19-
go-version: '1.20'
19+
go-version: '1.21'
2020
cache: false
2121
- uses: actions/checkout@v4
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v3
2424
with:
25-
version: v1.53.3
25+
version: v1.54.0
2626
working-directory: ${{matrix.working-directory}}

‎.github/workflows/pr-dependabot.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Go
2424
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # tag=v4.0.1
2525
with:
26-
go-version: '1.20'
26+
go-version: '1.21'
2727
- name: Update all modules
2828
run: make modules
2929
- uses: EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # tag=v9.1.3

‎.golangci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ linters-settings:
5959
- pkg: sigs.k8s.io/controller-runtime
6060
alias: ctrl
6161
staticcheck:
62-
go: "1.20"
62+
go: "1.21"
6363
stylecheck:
64-
go: "1.20"
64+
go: "1.21"
6565
revive:
6666
rules:
6767
# The following rules are recommended https://github.com/mgechev/revive#recommended-configuration

0 commit comments

Comments
 (0)
Please sign in to comment.