Skip to content

Commit

Permalink
Makefile: remove rule using deprecated golint (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
josuebrunel committed Mar 13, 2023
1 parent edb38b7 commit 2c8c2d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
- name: Check lint
run: |
go get -u golang.org/x/lint/golint
golint ./...

test-integration:
strategy:
matrix:
Expand Down Expand Up @@ -58,18 +55,17 @@ jobs:
- name: Unshallow git checkout
run: git fetch --prune --unshallow
- name: Run tests
run: go test -v -covermode=count -coverprofile=coverage.out ./...
run: |
cd tests/
go test -v -count=1 -cover -covermode=count -coverprofile=coverage.out ./...
- name: Convert coverage to lcov
uses: jandelgado/[email protected]
- name: Report coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
- name: Check lint
run: |
cd tests/
go test -v -count=1 -cover -covermode=count -coverprofile=coverage.out ./...

doc:
name: Refresh documentation
runs-on: ubuntu-latest
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ test:
test.integration:
docker compose -f build/docker-compose.yml up --build -d
cd tests/; go mod tidy; go test -v -count=1 -cover -covermode=count -coverprofile=coverage.out ./... ; go tool cover -func coverage.out ; cd -
lint:
golint ./...
clean:
go clean
debug:
Expand Down

0 comments on commit 2c8c2d7

Please sign in to comment.