diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7cf215..b771b1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/traefik/traefik.go b/traefik/traefik.go index ea6d3ea..be3447e 100644 --- a/traefik/traefik.go +++ b/traefik/traefik.go @@ -1,3 +1,4 @@ +// Package traefik - Common operations for the adapter package traefik import (