Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve CI and test errors #34

Merged
merged 32 commits into from
Feb 8, 2024
Merged

Resolve CI and test errors #34

merged 32 commits into from
Feb 8, 2024

Conversation

drklee3
Copy link
Member

@drklee3 drklee3 commented Jan 31, 2024

  • Update Go version to 1.20 to match Kava (go.mod, nix, CI workflows)
  • Resolve golangci-lint errors and ignore generated files for lll
  • Resolve RPC test errors
  • Resolve nix build and integration testing

One vuln check failing with github.com/dvsekhvalnov/jose2go ignoring for later update.

@github-actions github-actions bot added the C:CLI label Jan 31, 2024
@@ -196,8 +196,8 @@
// Get bip39 mnemonic
var mnemonic, bip39Passphrase string

recover, _ := cmd.Flags().GetBool(flagRecover)
if recover {
shouldRecover, _ := cmd.Flags().GetBool(flagRecover)

Check warning

Code scanning / gosec

Returned error is not propagated up the stack. Warning

Returned error is not propagated up the stack.
@drklee3 drklee3 marked this pull request as ready for review February 6, 2024 19:23
@drklee3 drklee3 merged commit 877e8fd into kava/release/v0.24.x Feb 8, 2024
12 of 13 checks passed
@drklee3 drklee3 deleted the dl-fix-ci branch February 8, 2024 17:36
evgeniy-scherbina pushed a commit that referenced this pull request Mar 22, 2024
* Remove depguard from golangci-lint

* Remove cachix/cachix-action step in integration_tests job

* Remove cachix/cachix-action step from gomod2nix

* Remove cachix/cachix-action step from python-lint

* Remove cache upload job

* Trigger ci tests

* Use go 1.20 for iavl v1

* Use go 1.20 in ci

* Fix yaml parsing 1.20

* Resolve lint issues

* Update ibc-go to v6.1.1, [email protected]

Matches kava, suppresses vuln errors

* Exclude .pb.go from lll linter

* Resolve unused lint errors

* Add get-diff-action step to integration tests

* Update integration_tests nix setup

* Add nix-community/cache-nix-action for integration tests

* test: Fix tracing tests mock error

* ci: Remove codecov upload

* Add goleveldb replace directive to fix version not found errors in test-rpc

* Use json string instead of byte array for tests data clarity

* Ignore lint lll error on server.FlagAPISwagger

* Resolve lint errors

* fix: tx trace gasUsed camel case instead of snake

* Prevent modifying trace response if missing fail or non gas error

* Add note for tracing test

* Revert tracing changes with minimum fix

Avoid large diff and keep it the same for now

* gofumpt

* test: Update test_pruned_node expected error integration test

* Handle connection refused error in integration test

* Restore jose2go version in gomod2nix.toml

* Resolve flake8 lint errors on integration tests

* Add -I nixpkgs=./nix to integration Makefile
nddeluca pushed a commit that referenced this pull request Apr 11, 2024
* Resolve CI and test errors (#34)

* Remove depguard from golangci-lint

* Remove cachix/cachix-action step in integration_tests job

* Remove cachix/cachix-action step from gomod2nix

* Remove cachix/cachix-action step from python-lint

* Remove cache upload job

* Trigger ci tests

* Use go 1.20 for iavl v1

* Use go 1.20 in ci

* Fix yaml parsing 1.20

* Resolve lint issues

* Update ibc-go to v6.1.1, [email protected]

Matches kava, suppresses vuln errors

* Exclude .pb.go from lll linter

* Resolve unused lint errors

* Add get-diff-action step to integration tests

* Update integration_tests nix setup

* Add nix-community/cache-nix-action for integration tests

* test: Fix tracing tests mock error

* ci: Remove codecov upload

* Add goleveldb replace directive to fix version not found errors in test-rpc

* Use json string instead of byte array for tests data clarity

* Ignore lint lll error on server.FlagAPISwagger

* Resolve lint errors

* fix: tx trace gasUsed camel case instead of snake

* Prevent modifying trace response if missing fail or non gas error

* Add note for tracing test

* Revert tracing changes with minimum fix

Avoid large diff and keep it the same for now

* gofumpt

* test: Update test_pruned_node expected error integration test

* Handle connection refused error in integration test

* Restore jose2go version in gomod2nix.toml

* Resolve flake8 lint errors on integration tests

* Add -I nixpkgs=./nix to integration Makefile

* Fix integration-tests CI job

* Update ethermint dependency in upgrade-test-package.nix

* Fix golang linter errors

* Fix python linter errors

* Fix gomod2nix CI job

* Temporary disable Dependency Review job

---------

Co-authored-by: drklee3 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants