refactor: consolidate builds #1608
Annotations
11 errors and 7 warnings
gosec-cosmos
Process completed with exit code 2.
|
lint:
contrib/localnet/orchestrator/smoketest/utils.go#L8
File is not `goimports`-ed (goimports)
|
lint:
contrib/localnet/orchestrator/smoketest/main.go#L33
G101: Potential hardcoded credentials (gosec)
|
lint:
contrib/localnet/orchestrator/smoketest/test_setup.go#L197
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
lint:
contrib/localnet/orchestrator/smoketest/smoketest.go#L107
`netowrk` is a misspelling of `network` (misspell)
|
lint:
contrib/localnet/orchestrator/smoketest/test_bitcoin.go#L582
Consider pre-allocating `inputsForSign` (prealloc)
|
lint:
contrib/localnet/orchestrator/smoketest/utils.go#L53
loopclosure: loop variable cctxIndex captured by func literal (govet)
|
lint:
contrib/localnet/orchestrator/smoketest/test_zrc20_swap.go#L25
printf: fmt.Printf format %s reads arg #3, but call has 2 args (govet)
|
lint:
contrib/localnet/orchestrator/smoketest/main.go#L241
ineffectual assignment to err (ineffassign)
|
lint:
contrib/localnet/orchestrator/smoketest/test_crosschain_swap.go#L171
ineffectual assignment to err (ineffassign)
|
lint:
contrib/localnet/orchestrator/smoketest/test_stress.go#L89
ineffectual assignment to err (ineffassign)
|
gosec-cosmos
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint:
x/fungible/module.go#L179
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
contrib/localnet/orchestrator/smoketest/test_deposit_eth.go#L505
unused-parameter: parameter 'to' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
contrib/localnet/orchestrator/smoketest/test_bitcoin.go#L128
var-naming: don't use underscores in Go names; var txHash_1 should be txHash1 (revive)
|
lint:
contrib/localnet/orchestrator/smoketest/test_bitcoin.go#L132
var-naming: don't use underscores in Go names; var txHash_2 should be txHash2 (revive)
|
gosec
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|