fix: update golangci-lint-action to v8.0.0 (latest version) #154
Workflow file for this run
This file contains hidden or 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
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: check go mod | |
| run: | | |
| go mod download | |
| go mod tidy | |
| git diff --exit-code go.mod go.sum | |
| - run: make build VERSION=${{ github.ref_name }} | |
| - run: make test | |
| - uses: shogo82148/actions-goveralls@v1 | |
| with: | |
| path-to-profile: coverage.txt | |
| - run: make docker VERSION=${{ github.ref_name }} | |
| - run: make clean | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: v2.4 |