Skip to content

Commit

Permalink
remove golint dependency (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anaethelion authored Jun 4, 2024
1 parent 98499af commit 450891c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion .buildkite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ARG VERSION=1-alpine
FROM golang:${VERSION}

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

VOLUME ["/tmp"]
Expand Down
1 change: 0 additions & 1 deletion .ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ ARG VERSION=1-alpine
FROM golang:${VERSION}

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

VOLUME ["/tmp"]
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,5 @@ jobs:
with: { fetch-depth: 1 }
- uses: actions/[email protected]
with: { go-version: '1.x' }
- name: Install dependencies
run: go install golang.org/x/lint/golint@latest
env:
GOBIN: ${{ env.GOROOT }}/bin
shell: bash
- run: go version
- run: make lint
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ test-coverage: ## Generate test coverage report
lint: ## Run lint on the package
@printf "\033[2m→ Running lint...\033[0m\n"
go vet github.com/elastic/go-elasticsearch/...
go list github.com/elastic/go-elasticsearch/... | 'grep' -v internal | xargs golint -set_exit_status
@{ \
set -e ; \
trap "test -d ../../../.git && git checkout --quiet go.mod" INT TERM EXIT; \
Expand Down

0 comments on commit 450891c

Please sign in to comment.