Skip to content

Commit

Permalink
lint and vet
Browse files Browse the repository at this point in the history
  • Loading branch information
onatm committed Oct 2, 2024
1 parent 254c9bf commit e23bb40
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Install golint
run: go install golang.org/x/lint/golint@latest
- name: Install goveralls
run: go install github.com/mattn/goveralls@b031368
- name: Build
run: go build
- name: Run go vet
run: go vet
- name: Run golint
run: golint
- name: Test
run: go test -v -covermode=count -coverprofile=coverage.out
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=coverage.out -service=github
run: goveralls -coverprofile=coverage.out -service=github

0 comments on commit e23bb40

Please sign in to comment.