Skip to content

Commit 85d1993

Browse files
authored
Merge branch 'main' into dependabot-actions
2 parents 1f7d089 + c42f4c1 commit 85d1993

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ jobs:
99
with:
1010
go-version: '1.21'
1111
- uses: golangci/golangci-lint-action@v3
12+
with:
13+
version: v1.58.2
14+
args: --timeout 3m --verbose

.golangci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ output:
4949
# Example: "checkstyle:report.json,colored-line-number"
5050
#
5151
# Default: colored-line-number
52-
format: github-actions
52+
formats:
53+
format: github-actions
5354

5455
linters-settings:
5556
wrapcheck:
@@ -94,7 +95,6 @@ linters:
9495
- errchkjson
9596
- errname
9697
- errorlint
97-
- execinquery
9898
- exhaustive
9999
- exportloopref
100100
- forbidigo
@@ -170,6 +170,7 @@ linters:
170170
# - interfacer
171171
# - maligned
172172
# - scopelint
173+
# - execinquery
173174

174175
# # Not useful
175176
# - depguard

cmd/download_publishers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ var downloadPublishersCmd = &cobra.Command{
3737
if err != nil {
3838
log.Fatalf("error in reading %s: %v", args[1], err)
3939
}
40+
//nolint:musttag // false positive
4041
_ = yaml.Unmarshal(data, &publishers)
4142
}
4243

0 commit comments

Comments
 (0)