Skip to content

Commit 6adfc53

Browse files
committed
fix: update golangci-lint
1 parent dccd868 commit 6adfc53

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Go
22

33
on:
44
pull_request:
5-
branches: [ main ]
5+
branches: [main]
66

77
permissions: {}
88
jobs:
@@ -11,15 +11,15 @@ jobs:
1111
permissions:
1212
contents: read
1313
steps:
14-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515

16-
- name: Set up Go
17-
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
18-
with:
19-
go-version-file: 'go.mod'
16+
- name: Set up Go
17+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
18+
with:
19+
go-version-file: "go.mod"
2020

21-
- name: Test
22-
run: go test -cover ./...
21+
- name: Test
22+
run: go test -cover ./...
2323

2424
lint:
2525
name: Lint
@@ -32,8 +32,8 @@ jobs:
3232
fetch-depth: 2
3333
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
3434
with:
35-
go-version-file: 'go.mod'
35+
go-version-file: "go.mod"
3636
- name: golangci-lint
3737
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
3838
with:
39-
version: v2.7.2
39+
version: v2.10.1

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ HAS_GOLANGCI_LINT := $(shell command -v golangci-lint;)
1010

1111
bootstrap:
1212
ifndef HAS_GOLANGCI_LINT
13-
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.7.2
13+
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10.1
1414
endif

0 commit comments

Comments
 (0)