Skip to content

Commit

Permalink
Jenkinsfile.public: Fix lint stage
Browse files Browse the repository at this point in the history
Match arguments passed to `golangci-lint` and `go-licenses` from
Jenkinsfile.premerge and Jenkinsfile.verify.

These changes were made recently, e.g. by 82b05dc,
67e397d, but not in Jenkinsfile.public.
  • Loading branch information
mobyvb committed Apr 19, 2024
1 parent c3c8b19 commit 71fed1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile.public
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pipeline {
}
stage('Other') {
steps {
sh 'golangci-lint --config /go/ci/.golangci.yml -j=2 run'
sh 'golangci-lint --config /go/ci/.golangci.yml -j=2 --timeout=4m run'
sh 'protolock status'
sh 'go.min vet ./...'
dir("testsuite/storjscan") {
Expand All @@ -121,7 +121,7 @@ pipeline {
stage('licenses check') {
steps {
// go-licenses by default has AGPL3 in the forbidden list, hence we need to explicitly allow `storj.io/storj`.
sh 'go-licenses check --ignore "storj.io/storj" ./...'
sh 'go-licenses check --ignore "storj.io/storj" --ignore "github.com/json-iterator/go" ./...'
}
}
}
Expand Down

0 comments on commit 71fed1a

Please sign in to comment.