Skip to content

Commit f16a3e2

Browse files
committed
fix(ci): pin tool versions for Go 1.24 compatibility
- Pin goimports to v0.33.0 (last version supporting Go 1.24) - Pin golangci-lint to v2.0.2 for Go 1.24 compatibility
1 parent 2ee2bf8 commit f16a3e2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/go-fmt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Install goimports
3939
run: |
40-
go install golang.org/x/tools/cmd/goimports@latest
40+
go install golang.org/x/tools/cmd/goimports@v0.33.0
4141
4242
- name: Run goimports and check diffs
4343
id: fmt-check

.github/workflows/golangci-lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ jobs:
3636
- name: golangci-lint
3737
uses: golangci/golangci-lint-action@v9
3838
with:
39-
version: v2.1
39+
version: v2.0.2
4040
only-new-issues: true

client/api/v1/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package v1
22

33
import "github.com/yeeaiclub/dify-go/internal/handler"
44

5-
// BaseClient the base clint of dify
5+
// BaseClient the base client of dify
66
type BaseClient struct {
77
client *handler.Client // HTTP client for making API requests
88
apiKey string // API key for authentication

0 commit comments

Comments
 (0)