github.com/arunkumar7540/cli@v6.45.0+incompatible/ci/cli/tasks/golangci-lint.yml (about) 1 --- 2 platform: linux 3 4 image_resource: 5 type: docker-image 6 source: 7 repository: cfcli/cli-base 8 9 inputs: 10 - name: cli 11 path: gopath/src/code.cloudfoundry.org/cli 12 13 run: 14 path: bash 15 args: 16 - -c 17 - | 18 set -e 19 20 export GOPATH=$PWD/gopath 21 export PATH=$GOPATH/bin:$PATH 22 23 24 export LC_ALL="en_US.UTF-8" 25 export GOLANGCI_LINT_VERSION="1.15.0" 26 27 go version 28 29 30 cd $GOPATH/src/code.cloudfoundry.org/cli 31 golangci-lint --version 32 golangci-lint run -v 33 34 exit 0