Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Go 1.21, update golangci-lint to v1.61.0 #41

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- tip
include:
- name: oldstable
version: "1.21"
- name: stable
version: "1.22"
- name: stable
version: "1.23"
runs-on: ubuntu-latest
steps:
- name: Install Go v${{ matrix.name }}
Expand All @@ -41,9 +41,9 @@ jobs:
- tip
include:
- name: oldstable
version: "1.21"
- name: stable
version: "1.22"
- name: stable
version: "1.23"
runs-on: ubuntu-latest
steps:
- name: Install Go v${{ matrix.name }}
Expand All @@ -64,9 +64,9 @@ jobs:
- tip
include:
- name: oldstable
version: "1.21"
- name: stable
version: "1.22"
- name: stable
version: "1.23"
runs-on: ubuntu-latest
steps:
- name: Install Go v${{ matrix.name }}
Expand All @@ -87,7 +87,7 @@ jobs:
- name: Run golangci lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86
with:
version: v1.58.1
version: v1.61.0
# use our .golangci.yml and configure output to be logged in the GHA,
# in addition to annotating the commit. see
# https://github.com/golangci/golangci-lint-action/issues/119#issuecomment-981090648
Expand Down
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ linters:
- errname
- errorlint
- exhaustive
- exportloopref
- forcetypeassert
- gocheckcompilerdirectives
- gocognit
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cilium/linters

go 1.21
go 1.22

require (
golang.org/x/exp v0.0.0-20230809094429-853ea248256d
Expand Down
Loading