Skip to content

Commit

Permalink
fix(ci): Use go1.18 for the any type in proto
Browse files Browse the repository at this point in the history
fix(golangci): Fix structure

Signed-off-by: Sophia Koehler <[email protected]>
  • Loading branch information
sophia1ch committed Dec 19, 2024
1 parent 70036df commit 19a792f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
release:

env:
go-version: 1.17
go-version: 1.18

jobs:
check-copyright:
Expand Down
5 changes: 2 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,14 @@ linters-settings:
template-path: ".scripts/copyright-notice"
forbidigo:
forbid:
- exclude-rules:
- path: ".*\\.pb\\.go$" # Exclude protobuf generated files.
# Forbid functions to start with "get" or "Get".
- ^[Gg]et.*$
- ^[Ee]quals$
# Default values:
- ^print.*$
- 'fmt\.Print.*'

exclude-rules:
- path: ".*\\.pb\\.go$" # Exclude protobuf generated files.
issues:
# Re-enable default excludes.
include:
Expand Down

0 comments on commit 19a792f

Please sign in to comment.