Skip to content

Commit 19a792f

Browse files
committed
fix(ci): Use go1.18 for the any type in proto
fix(golangci): Fix structure Signed-off-by: Sophia Koehler <sophia@perun.network>
1 parent 70036df commit 19a792f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
release:
88

99
env:
10-
go-version: 1.17
10+
go-version: 1.18
1111

1212
jobs:
1313
check-copyright:

.golangci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,14 @@ linters-settings:
4848
template-path: ".scripts/copyright-notice"
4949
forbidigo:
5050
forbid:
51-
- exclude-rules:
52-
- path: ".*\\.pb\\.go$" # Exclude protobuf generated files.
5351
# Forbid functions to start with "get" or "Get".
5452
- ^[Gg]et.*$
5553
- ^[Ee]quals$
5654
# Default values:
5755
- ^print.*$
5856
- 'fmt\.Print.*'
59-
57+
exclude-rules:
58+
- path: ".*\\.pb\\.go$" # Exclude protobuf generated files.
6059
issues:
6160
# Re-enable default excludes.
6261
include:

0 commit comments

Comments
 (0)