From e23bb40b2dad9429c85e5959658da5784e12fb14 Mon Sep 17 00:00:00 2001 From: onatm Date: Wed, 2 Oct 2024 12:00:02 +0100 Subject: [PATCH] lint and vet --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5213139..4e7aab9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file + run: goveralls -coverprofile=coverage.out -service=github