-
Notifications
You must be signed in to change notification settings - Fork 11
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
Enable CI workflows and fix failures #4
Enable CI workflows and fix failures #4
Conversation
e07cb8d
to
169108e
Compare
919a899
to
0514dfa
Compare
7bf82f9
to
b4941d2
Compare
493a193
to
6a7afbc
Compare
@@ -84,7 +84,7 @@ jobs: | |||
needs: | |||
[test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] | |||
runs-on: ubuntu-latest | |||
if: ${{ success() }} | |||
if: ${{ false }} # Disabled due to requiring Slack integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems ideal to continue to run the sim tests above, but these two jobs require a SLACK_WEBHOOK
which pipes failures and successes into slack. I think this would just be noise for us for now so I'd prefer not to do this.
@@ -161,6 +161,7 @@ jobs: | |||
path: ./tests/e2e-profile.out | |||
|
|||
repo-analysis: | |||
if: ${{ false }} # Disabled due to requiring SonarCloud integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems ideal to continue to run the tests above, but this require a SONAR_TOKEN
for SonarCloud. I think this isn't necessary for us so I'd prefer not to set this up.
@@ -146,11 +146,12 @@ func InterceptConfigsPreRunHandler(cmd *cobra.Command, customAppConfigTemplate s | |||
} | |||
|
|||
var logger tmlog.Logger | |||
if config.LogFormat == tmcfg.LogFormatJSON { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was causing lint failures.
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Implement Commiter * Update README with fork instructions * Enable CI workflows and fix failures (#4) * Fix lint/gocritic error * Disable some workflow jobs * Add tests for Commiter change (#5) * Add additional upgrade step to README * add precommit callback (#7) * Revert "add precommit callback (#7)" (#10) This reverts commit 0e85c49. * cosmos-sdk upgrade README changes --------- Co-authored-by: Bryce Neal <bryce@dydx.exchange> Co-authored-by: Bryce Neal <brycedneal@gmail.com> Co-authored-by: dydxwill <119354122+dydxwill@users.noreply.github.com>
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
# This is the 1st commit message: Enable locking kv store # The commit message #2 will be skipped: # Fix some lock orderings # The commit message #3 will be skipped: # Fix minor typo # The commit message #4 will be skipped: # Ensure that writes happen in a deterministic order. # # Ensure that reads are also done all the time, remove this if it doesn't impact gas. # The commit message #5 will be skipped: # Remove locking for now for lockingkv.Get/Has
# This is the 1st commit message: Enable locking kv store # The commit message #2 will be skipped: # Fix some lock orderings # The commit message #3 will be skipped: # Fix minor typo # The commit message #4 will be skipped: # Ensure that writes happen in a deterministic order. # # Ensure that reads are also done all the time, remove this if it doesn't impact gas. # The commit message #5 will be skipped: # Remove locking for now for lockingkv.Get/Has
* Fix lint/gocritic error * Disable some workflow jobs
This PR enables workflows in CI for our
cosmos-sdk
fork and fixes failures.Many of the actions weren't being run due to our GitHub security settings. So I needed to whitelist a number of workflows to get them to run. So this is why nothing was running in previous PRs.
Once I whitelisted the necessary workflows, I noticed these issues, which is what I fixed in this PR.