Skip to content

Add golangci-lint

Add golangci-lint #258

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: golangci/golangci-lint-action@v6
with:
version: v1.61
- name: Build
run: go build -v ./...
- name: Test
run: go test -cover -timeout 6s ./...