Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Ansh Goyal <anshgoyal1704@gmail.com>
  • Loading branch information
anshgoyalevil committed Jun 21, 2023
1 parent 299bad5 commit d9f2f04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.17
- run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off go get -d golang.org/x/lint/golint; go list ./perf/... | grep -v /vendor/ | xargs -L1 /home/runner/go/bin/golint -set_exit_status
- run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off go get -u golang.org/x/lint/golint; go list ./perf/... | grep -v /vendor/ | xargs -L1 /home/runner/go/bin/golint -set_exit_status
error_check:
name: Error check
runs-on: ubuntu-latest
Expand All @@ -32,7 +32,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.17
- run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go get -d github.com/kisielk/errcheck; /home/runner/go/bin/errcheck -tags draft ./...
- 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 ./...
static_check:
name: Static check
runs-on: ubuntu-latest
Expand All @@ -45,7 +45,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.17
- run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go get -d honnef.co/go/tools/cmd/staticcheck; /home/runner/go/bin/staticcheck -tags draft -checks all ./perf/... # https://staticcheck.io/docs/checks
- 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 ./perf/... # https://staticcheck.io/docs/checks
vet:
name: Vet
runs-on: ubuntu-latest
Expand Down

0 comments on commit d9f2f04

Please sign in to comment.