Skip to content

Commit

Permalink
Permit parallel use of golangci-lint.
Browse files Browse the repository at this point in the history
There are related upstream issue that make this challenging. The work
around is pass a flag to allow multiple runners:

golangci/golangci-lint#812
golangci/golangci-lint#879

Change-Id: Iccb215d9ff1e54665d846104b4e282f7246ff424
  • Loading branch information
calebcase committed Jun 5, 2020
1 parent d636afb commit 7753dc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Expand Up @@ -26,7 +26,8 @@ def checkRepository(name, repo) {
sh 'check-atomic-align ./...'
sh 'check-errs ./...'
sh 'staticcheck ./...'
sh 'golangci-lint --config /go/ci/.golangci.yml run'

sh 'golangci-lint run --allow-parallel-runners --config /go/ci/.golangci.yml'
}
}
}
Expand Down

0 comments on commit 7753dc3

Please sign in to comment.