Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/hashira-cui--test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
with:
go-version-file: "go.mod"
cache-dependency-path: "go.sum"
- uses: golangci/golangci-lint-action@v6
- uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
Copy link
Collaborator Author

@kachick kachick Apr 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

敢えてこのトラブルが発生しだした一番古いversionに止めてある
これ以降の更新は dependabot が出してくるはずなのでそれ単位で

with:
version: v1.63.4
7 changes: 4 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
skip-dirs:
- service
- hashira-web/
issues:
exclude-dirs:
Comment on lines +1 to +2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この config 自体は golangci-lint config verify で verify をかけられるんだけれど、migrationガイドに沿って一足飛びに v2 系の linters.exclusions に差し替えようとするとやはり落ちる。
schema に version が用意されたのも最近の様で、指定ができない
migration tool も v1 時代から deprecate だった config には対応していないらしい
ということで、一旦古い情報を探すと golangci/golangci-lint#4509 での更新内容に添わせれば一旦通るようだった。
v2 系に上げるときには再度見直しが必要っぽいけどとりあえずこれで

- service
- hashira-web/