Skip to content

Commit

Permalink
github/golangci-lint: Failing on Go 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed Aug 27, 2024
1 parent 1022b39 commit 3ad894b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ci/.golangci2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ issues:
max-per-linter: 10
max-same-issues: 2
concurrency: 4
go: 1.23
go: '1.22.6'

linters:
disable-all: true
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod
go-version: '1.22.6'
cache: false
- id: golangci-lint-version
working-directory: .ci/tools
Expand All @@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod
go-version: '1.22.6'
cache: false
- id: golangci-lint-version
working-directory: .ci/tools
Expand All @@ -72,7 +72,7 @@ jobs:
# Trigger garbage collection more frequently to reduce the likelihood
# of OOM errors.
# ref: https://golangci-lint.run/product/performance/
GOGC: "200"
GOGC: "2000"
golangci-lintc:
name: 3 of 3
needs: [golangci-linta]
Expand All @@ -81,7 +81,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod
go-version: '1.22.6'
cache: false
- id: golangci-lint-version
working-directory: .ci/tools
Expand All @@ -100,4 +100,4 @@ jobs:
# Trigger garbage collection more frequently to reduce the likelihood
# of OOM errors.
# ref: https://golangci-lint.run/product/performance/
GOGC: "5"
GOGC: "2000"

0 comments on commit 3ad894b

Please sign in to comment.