mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 16:55:21 +00:00
8186367c8b
* Add consolidate methods * Update distr feepool balance with dust, add tests * Set params for proposal handler to not influence module balances * Add StakingRewardsPerSecond param for proposal test * Update changelog * Update test to check emitted events * Log dust amounts for x/distribution * Modify feepool communitypool field instead of entire replacement * Update tests to include cases with empty balances * Move EventsContains to app * Remove extra copied ModuleName * Add Require() to incentive claims in tests to reduce errors * Move consolidate tests to testutil * Only transfer non-ukava coins * Add DefaultStakingRewardsState to proposal handler test * Move event emit before consolidate * add golangci specific timeout --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
18 lines
463 B
YAML
18 lines
463 B
YAML
name: Lint Checks
|
|
on:
|
|
workflow_call:
|
|
# run per commit ci checks against this commit
|
|
jobs:
|
|
proto-lint:
|
|
uses: ./.github/workflows/proto.yml
|
|
golangci-lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: golangci-lint
|
|
uses: reviewdog/action-golangci-lint@v2
|
|
with:
|
|
github_token: ${{ secrets.github_token }}
|
|
reporter: github-pr-review
|
|
golangci_lint_flags: --timeout 10m
|