Skip to content

Commit 258c477

Browse files
chore(deps): update golangci/golangci-lint-action action to v7 (#114)
* chore(deps): update golangci/golangci-lint-action action to v7 * golangci-lint v2 fix --------- Co-authored-by: felix-renovate[bot] <143542247+felix-renovate[bot]@users.noreply.github.com> Co-authored-by: joe miller <joe@planetscale.com>
1 parent b5fa8e7 commit 258c477

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
go-version-file: go.mod
2424

25-
- uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6
25+
- uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7
2626

2727
# installed here to run lint on the .goreleaser.yml file:
2828
- name: Install GoReleaser
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
go-version-file: go.mod
4646

47-
- uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6
47+
- uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7
4848

4949
- name: Install GoReleaser
5050
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
go-version-file: go.mod
3232
cache: false
3333

34-
- uses: golangci/golangci-lint-action@55c2c1448f86e01eaae002a5a3a9624417608d84 # v6
34+
- uses: golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7
3535

3636
# installed here to run lint on the .goreleaser.yml file:
3737
- name: Install GoReleaser

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func base64EncodeFile(path string) (string, error) {
137137
if err != nil {
138138
return "", err
139139
}
140-
defer in.Close()
140+
defer in.Close() // nolint: errcheck
141141

142142
buf := bytes.Buffer{}
143143
encoder := base64.NewEncoder(base64.StdEncoding, &buf)

0 commit comments

Comments
 (0)