Repository navigation
build: update to Go 1.27 and golangci-lint v2.14 - #1
Merged
Merged
Conversation
Bump the go directive to 1.27.0, golangci-lint tool to v2.14.0, fsnotify to v1.10.1 and the remaining dependencies. golangci-lint v2.5.0 cannot load export data produced by Go 1.27, which broke the lint job in CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapt the configuration to golangci-lint v2.14: - disable exhaustruct_v5, the successor of the already disabled exhaustruct - disable the deprecated gomodguard linter - exclude the new gosec G703 rule, a taint-analysis variant of G304 - do not run goconst on test files Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The template only contains an unimplemented stub, so lint and tests cannot pass there by design. Run CI only in student repositories created from the template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Matovidlo
marked this pull request as ready for review
October 8, 2026 05:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
golangci-lint v2.5/v2.6 cannot type-check against the Go 1.27 standard library (
export data version 4 is greater than maximum supported version 2). CI installsstableGo (now 1.27), so lint — and test, which needs lint — currently fails on every student PR.goto 1.27.0, golangci-lint to v2.14.0, fsnotify v1.10.1.exhaustruct_v5/gomodguard, exclude gosec G703 (taint twin of the already excluded G304), skip goconst in_test.go; one prealloc fix in a test.path/filepathlink.Verification
go test -race.🤖 Generated with Claude Code