Compare commits

...

5 Commits

Author SHA1 Message Date
William Banfield
ccfc198f57 test 2022-08-10 11:07:36 -04:00
William Banfield
9d1894ff0c test 2022-08-10 10:54:33 -04:00
William Banfield
c9da8d8d17 test 2022-08-10 10:50:54 -04:00
William Banfield
59b737554b test 2022-08-10 10:32:34 -04:00
William Banfield
991dbf0b5e test lint upgrade 2022-08-10 10:29:58 -04:00
3 changed files with 3 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '^1.16'
go-version: '^1.19'
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
@@ -26,7 +26,7 @@ jobs:
- uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.45
version: v1.48.0
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF

View File

@@ -54,8 +54,6 @@ issues:
linters-settings:
dogsled:
max-blank-identifiers: 3
maligned:
suggest-new: true
# govet:
# check-shadowing: true
revive:

View File

@@ -132,7 +132,7 @@ type ErrSwitchAuthenticationFailure struct {
func (e ErrSwitchAuthenticationFailure) Error() string {
return fmt.Sprintf(
"failed to authenticate peer. Dialed %v, but got peer with ID %s",
"failed to authenticate beep peer. Dialed %v, but got peer with ID %s",
e.Dialed,
e.Got,
)