Skip to content

update golangci-lint (#70) #183

update golangci-lint (#70)

update golangci-lint (#70) #183

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
golangci-lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: "1.21"
- uses: golangci/golangci-lint-action@v3
with:
version: v1.56.2
go-mod-tidy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.21"
- run: |
go mod download
go mod tidy
git diff --exit-code