Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
Signed-off-by: dhruv0000 <patel.4@iitj.ac.in>
  • Loading branch information
dhruv0000 committed Mar 25, 2021
1 parent 7c3f99e commit ae0bada
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/setup-go@v1
with:
go-version: ${{ secrets.GO_VERSION }}
- run: GOPROXY=direct GOSUMDB=off go get -u golang.org/x/lint/golint; go list ./nginx/... | grep -v /vendor/ | xargs -L1 /home/runner/go/bin/golint -set_exit_status
- run: GOPROXY=direct GOSUMDB=off go get -u golang.org/x/lint/golint; go list ./traefik/... | grep -v /vendor/ | xargs -L1 /home/runner/go/bin/golint -set_exit_status
error_check:
name: Error check
runs-on: ubuntu-latest
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/setup-go@v1
with:
go-version: ${{ secrets.GO_VERSION }}
- run: GOPROXY=direct GOSUMDB=off GO111MODULE=on go get -u honnef.co/go/tools/cmd/staticcheck; /home/runner/go/bin/staticcheck -tags draft -checks all ./nginx/... # https://staticcheck.io/docs/checks
- run: GOPROXY=direct GOSUMDB=off GO111MODULE=on go get -u honnef.co/go/tools/cmd/staticcheck; /home/runner/go/bin/staticcheck -tags draft -checks all ./traefik/... # https://staticcheck.io/docs/checks
vet:
name: Vet
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions traefik/traefik.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package traefik - Common operations for the adapter
package traefik

import (
Expand Down

0 comments on commit ae0bada

Please sign in to comment.