Skip to content

Commit 61fe9cf

Browse files
authored
Merge pull request #97
feat(build): drop Go 1.21 support
2 parents 4f09fe2 + f704e5e commit 61fe9cf

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository)
1313
strategy:
1414
matrix:
15-
go: [ '1.21', '1.22', '1.23' ]
15+
go: [ '1.22', '1.23' ]
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-go@v5

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ linters-settings:
4141
linters:
4242
disable-all: true
4343
enable:
44+
- copyloopvar
4445
- dupl
4546
- errcheck
46-
- exportloopref
4747
- goconst
4848
- gocyclo
4949
- gofmt

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ OUTDIR ?= $(TMPDIR)
1414

1515
# Dynamic version selection based on Go version
1616
# Format: $(TOOLSDIR)/get_version.sh <go_version> <tool_version1> <tool_version2> ..
17-
GOLANGCI_LINT_VERSION ?= $(shell $(TOOLSDIR)/get_version.sh 1.21 v1.59 v1.61)
18-
REVIVE_VERSION ?= $(shell $(TOOLSDIR)/get_version.sh 1.21 v1.4)
17+
GOLANGCI_LINT_VERSION ?= $(shell $(TOOLSDIR)/get_version.sh 1.22 v1.63.4)
18+
REVIVE_VERSION ?= $(shell $(TOOLSDIR)/get_version.sh 1.22 v1.4)
1919

2020
GOLANGCI_LINT_URL ?= github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION)
2121
GOLANGCI_LINT ?= $(GO) run $(GOLANGCI_LINT_URL)

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module darvaza.org/core
22

3-
go 1.21
3+
go 1.22
44

55
require golang.org/x/net v0.34.0
66

renovate.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"packageRules": [
77
{
88
"matchDatasources": ["golang-version"],
9-
"allowedVersions": "1.21"
9+
"allowedVersions": "1.22"
1010
}
1111
],
1212
"postUpdateOptions": [

0 commit comments

Comments
 (0)