Skip to content

Commit

Permalink
CI: set reviewdog golangci-lint go version (#5196)
Browse files Browse the repository at this point in the history
  • Loading branch information
cce committed Mar 11, 2023
1 parent bba9be3 commit 1fe68f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: reviewdog-golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
go_version_file: go.mod
golangci_lint_version: "v1.47.3"
golangci_lint_flags: "-c .golangci.yml --allow-parallel-runners"
reporter: "github-pr-check"
Expand Down
2 changes: 1 addition & 1 deletion ledger/internal/appcow.go
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ func (cb *roundCowState) StatefulEval(gi int, params *logic.EvalParams, aidx bas
calf := cb.child(1)
defer func() {
// get rid of references to the object that is about to be recycled
params.Ledger = nil
params.Ledger = nil
params.SigLedger = nil
calf.recycle()
}()
Expand Down
2 changes: 1 addition & 1 deletion logging/telemetryspec/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ type StateProofStats struct {
// AssembleBlockTimeout represents AssembleBlock exiting due to timeout
const AssembleBlockTimeout = "timeout"

// AssembleBlockTimeout represents AssembleBlock giving up after a timeout and returning an empty block
// AssembleBlockTimeoutEmpty represents AssembleBlock giving up after a timeout and returning an empty block
const AssembleBlockTimeoutEmpty = "timeout-empty"

// AssembleBlockFull represents AssembleBlock exiting due to block being full
Expand Down

0 comments on commit 1fe68f4

Please sign in to comment.