Pin golangci-lint version in lint workflow
Some checks failed
Build / build (pull_request) Successful in 1m58s
Protobuf / lint (pull_request) Successful in 13s
Integration Tests / test-integration (pull_request) Successful in 2m33s
E2E Tests / test-e2e (pull_request) Successful in 3m56s
Lint / Run golangci-lint (pull_request) Failing after 9m57s
Unit Tests / test-unit (pull_request) Successful in 1m50s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m13s
SDK Tests / sdk_tests (pull_request) Failing after 8m58s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 13m53s
Some checks failed
Build / build (pull_request) Successful in 1m58s
Protobuf / lint (pull_request) Successful in 13s
Integration Tests / test-integration (pull_request) Successful in 2m33s
E2E Tests / test-e2e (pull_request) Successful in 3m56s
Lint / Run golangci-lint (pull_request) Failing after 9m57s
Unit Tests / test-unit (pull_request) Successful in 1m50s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m13s
SDK Tests / sdk_tests (pull_request) Failing after 8m58s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 13m53s
This commit is contained in:
parent
a8a59ad0c1
commit
d36f54543d
@ -21,7 +21,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: golangci/golangci-lint-action@v3.3.1
|
- uses: golangci/golangci-lint-action@v3.3.1
|
||||||
with:
|
with:
|
||||||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
|
# Required: the version of golangci-lint is required and must be specified without patch version
|
||||||
version: latest
|
version: v1.51
|
||||||
args: --timeout 10m
|
args: --timeout 10m
|
||||||
github-token: ${{ secrets.github_token }}
|
github-token: ${{ secrets.github_token }}
|
||||||
|
@ -140,7 +140,8 @@ func ProvideClientContext(
|
|||||||
// Read the config again to overwrite the default values with the values from the config file
|
// Read the config again to overwrite the default values with the values from the config file
|
||||||
clientCtx, _ = config.ReadFromClientConfig(clientCtx)
|
clientCtx, _ = config.ReadFromClientConfig(clientCtx)
|
||||||
|
|
||||||
// Workaround: Unset clientCtx.HomeDir and clientCtx.KeyringDir from depinject clientCtx as they are given precedence over the CLI args (--home flag) in some commands
|
// Workaround: Unset clientCtx.HomeDir and clientCtx.KeyringDir from depinject clientCtx as they are given precedence over
|
||||||
|
// the CLI args (--home flag) in some commands
|
||||||
// TODO: Implement proper fix
|
// TODO: Implement proper fix
|
||||||
clientCtx.HomeDir = ""
|
clientCtx.HomeDir = ""
|
||||||
clientCtx.KeyringDir = ""
|
clientCtx.KeyringDir = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user