ci: freeze golangci action version (#5196)

## Description

This PR updates golang-ci to latest and stops looking at master for the action. 

Closes: #XXX
This commit is contained in:
Marko
2020-08-03 07:57:06 +00:00
committed by GitHub
parent 19fad101e2
commit 2d167aefcf
8 changed files with 11 additions and 10 deletions
+1
View File
@@ -1309,6 +1309,7 @@ func (c *Client) sendConflictingHeadersEvidence(ev *types.ConflictingHeadersEvid
// exponential backoff (with jitter)
// 0.5s -> 2s -> 4.5s -> 8s -> 12.5 with 1s variation
func backoffTimeout(attempt uint16) time.Duration {
// nolint:gosec // G404: Use of weak random number generator
return time.Duration(500*attempt*attempt)*time.Millisecond + time.Duration(rand.Intn(1000))*time.Millisecond
}