Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
[n/a] Patching our Linter GHA (gopasspw#2801)
Browse files Browse the repository at this point in the history
Signed-off-by: Yolan Romailler <[email protected]>
  • Loading branch information
AnomalRoil authored Feb 14, 2024
1 parent d3c64f2 commit 2268d7d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
with:
version: latest # we have a list of linters in our .golangci.yml config file
version: v1.56.1 # we have a list of linters in our .golangci.yml config file
only-new-issues: true
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ linters-settings:
max-complexity: 22
skip-tests: true
staticcheck:
go: "1.19"
go: "1.21"
# https://staticcheck.io/docs/options#checks
checks: ["all","-SA1019"]
funlen:
Expand Down Expand Up @@ -59,6 +59,7 @@ linters:
- nolintlint
- nosnakecase
- paralleltest
- perfsprint
- revive
- rowserrcheck
- scopelint
Expand Down
1 change: 0 additions & 1 deletion internal/cui/recipients.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ func AskForGitConfigUser(ctx context.Context, crypto backend.Crypto) (string, st
fmt.Sprintf("Use %s (%s) for password store git config?", name, email),
true,
)

if err != nil {
return "", "", err
}
Expand Down

0 comments on commit 2268d7d

Please sign in to comment.