-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: remove rule using deprecated golint (#9)
- Loading branch information
1 parent
edb38b7
commit 2c8c2d7
Showing
2 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters