Skip to content

Commit

Permalink
CI: Try to fix golangci-lint for the millionth time
Browse files Browse the repository at this point in the history
  • Loading branch information
assafmo committed Jul 30, 2023
1 parent d05a138 commit 7c43a18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ jobs:
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.53.2
args: --config=/.golangci.yml
working-directory: /
4 changes: 2 additions & 2 deletions x/registration/internal/types/reg_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package types

func GetApiKey() ([]byte, error) {
apiKeyFile, err := Asset("api_key.txt") //nolint:all
apiKeyFile, err := Asset("api_key.txt")
if err != nil {
return nil, err
}
Expand All @@ -12,7 +12,7 @@ func GetApiKey() ([]byte, error) {
}

func GetSpid() ([]byte, error) {
apiKeyFile, err := Asset("spid.txt") //nolint:all
apiKeyFile, err := Asset("spid.txt")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 7c43a18

Please sign in to comment.