Skip to content

Commit 450891c

Browse files
authored
remove golint dependency (#866)
1 parent 98499af commit 450891c

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

.buildkite/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ARG VERSION=1-alpine
77
FROM golang:${VERSION}
88

99
RUN apk add --no-cache --quiet make curl git jq unzip tree && \
10-
go install golang.org/x/lint/golint@latest && \
1110
go install gotest.tools/gotestsum@latest
1211

1312
VOLUME ["/tmp"]

.ci/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ARG VERSION=1-alpine
77
FROM golang:${VERSION}
88

99
RUN apk add --no-cache --quiet make curl git jq unzip tree && \
10-
go install golang.org/x/lint/golint@latest && \
1110
go install gotest.tools/gotestsum@latest
1211

1312
VOLUME ["/tmp"]

.github/workflows/build.yml

-5
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,5 @@ jobs:
2929
with: { fetch-depth: 1 }
3030
- uses: actions/setup-go@v2.1.3
3131
with: { go-version: '1.x' }
32-
- name: Install dependencies
33-
run: go install golang.org/x/lint/golint@latest
34-
env:
35-
GOBIN: ${{ env.GOROOT }}/bin
36-
shell: bash
3732
- run: go version
3833
- run: make lint

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ test-coverage: ## Generate test coverage report
155155
lint: ## Run lint on the package
156156
@printf "\033[2m→ Running lint...\033[0m\n"
157157
go vet github.com/elastic/go-elasticsearch/...
158-
go list github.com/elastic/go-elasticsearch/... | 'grep' -v internal | xargs golint -set_exit_status
159158
@{ \
160159
set -e ; \
161160
trap "test -d ../../../.git && git checkout --quiet go.mod" INT TERM EXIT; \

0 commit comments

Comments
 (0)