Skip to content

Commit 91779bc

Browse files
committed
chore(config): upgrade golangci-lint to v2.9.0 and update CI workflow
1 parent 53af01d commit 91779bc

6 files changed

Lines changed: 21 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ jobs:
4646
cache: true
4747

4848
- name: golangci-lint
49-
uses: golangci/golangci-lint-action@v8
49+
uses: golangci/golangci-lint-action@v9
5050
with:
5151
version: latest

.gitignore

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@
88
# Test binary, built with `go test -c`
99
*.test
1010

11-
# Output of the go coverage tool, specifically when used with LiteIDE
11+
# Log files
12+
*.log
13+
14+
# Output of the go coverage tool
1215
*.out
1316

14-
# Dependency directories (remove the comment below to include it)
17+
# Dependency directories
1518
# vendor/
1619

1720
# Go workspace file
1821
go.work
22+
go.work.sum
1923

2024
# IntelliJ files
2125
.idea/
@@ -27,20 +31,20 @@ cover.html
2731
# Local binary folder
2832
bin/
2933

30-
# Local build folder for storing build artifacts
34+
# Local build folder
3135
build/
3236

3337
# Mac OS files
3438
**/.DS_Store
3539

36-
# todo
37-
.todo
40+
# .ralphy
41+
.ralphy/deferred.json
42+
.ralphy/*.txt
3843

39-
# Docker
40-
.docker/
44+
# todo files
45+
.todo
46+
TODO.md
4147

42-
# local
48+
# Project-specific
4349
*.local.json
44-
45-
# TODO.md
46-
TODO.md
50+
.docker/

.golangci.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.2
1+
2.9.0

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ Results require `WithRetention()` option on job to persist.
222222

223223
## Environment Requirements
224224

225-
- **Go Version**: 1.25 or higher
225+
- **Go Version**: 1.26 or higher
226226
- **Redis**: Any version compatible with go-redis v9 and Asynq
227-
- **golangci-lint**: Version 2.7.2 (managed via `.golangci.version`)
227+
- **golangci-lint**: Version 2.9.0 (managed via `.golangci.version`)
228228

229229
## Important Gotchas
230230

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export GOBIN = $(PROJECT_ROOT)/bin
44

55
GOLANGCI_LINT_BINARY := $(GOBIN)/golangci-lint
66
GOLANGCI_LINT_VERSION := $(shell $(GOLANGCI_LINT_BINARY) version --format short 2>/dev/null || $(GOLANGCI_LINT_BINARY) version --short 2>/dev/null || echo "not-installed")
7-
REQUIRED_GOLANGCI_LINT_VERSION := $(shell cat .golangci.version 2>/dev/null || echo "2.4.0")
7+
REQUIRED_GOLANGCI_LINT_VERSION := $(shell cat .golangci.version 2>/dev/null || echo "2.9.0")
88

99
# Directories containing independent Go modules.
1010
MODULE_DIRS = .

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This library offers a robust and flexible solution for managing and processing q
66

77
### Installation
88

9-
Ensure your Go environment is ready (requires Go version 1.25 or higher), then install the library:
9+
Ensure your Go environment is ready (requires Go version 1.26 or higher), then install the library:
1010

1111
```bash
1212
go get -u github.com/kaptinlin/queue

0 commit comments

Comments
 (0)