Skip to content

.github: ensure golangci-lint runs on PR's as well #27

.github: ensure golangci-lint runs on PR's as well

.github: ensure golangci-lint runs on PR's as well #27

Workflow file for this run

---
name: golangci-lint
"on":
push:
tags:
- v*
branches: [main]
paths:
- '**.go'
- .golangci.yml
- .github/workflows/golangci-lint.yml
pull_request:
branches:
- main
jobs:
lint:
name: lint
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/setup-go@v5
with:
go-version: '>=1.20'
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.59.1