Skip to content

fix: update golangci-lint-action to v8.0.0 (latest version) #154

fix: update golangci-lint-action to v8.0.0 (latest version)

fix: update golangci-lint-action to v8.0.0 (latest version) #154

Workflow file for this run

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