From a544ae4cd09b4f679956981070c465821c6b7ac6 Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Mon, 27 Sep 2021 21:50:41 -0500 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc9a6e97e..1cffb8d5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: ${{ secrets.GO_VERSION }} - run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off go get -u golang.org/x/lint/golint; go list ./istio/... | grep -v /vendor/ | xargs -L1 /home/runner/go/bin/golint -set_exit_status @@ -31,7 +31,7 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: ${{ secrets.GO_VERSION }} - run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go get -u github.com/kisielk/errcheck; /home/runner/go/bin/errcheck -tags draft ./... @@ -44,7 +44,7 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: ${{ secrets.GO_VERSION }} - run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go get -u honnef.co/go/tools/cmd/staticcheck; /home/runner/go/bin/staticcheck -tags draft -checks all ./istio/... # https://staticcheck.io/docs/checks @@ -57,7 +57,7 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: ${{ secrets.GO_VERSION }} - run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go vet -tags draft ./... @@ -87,7 +87,7 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: ${{ secrets.GO_VERSION }} - name: Create cluster using KinD