Skip to content

Add JSON output support. #29

Add JSON output support.

Add JSON output support. #29

name: golangci-lint
on: [push, pull_request]
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
check-latest: true
- name: Checkout repo
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Disable errcheck (too noisy) for now.
# TODO: improve this by disabling only problematic regexps.
args: -D errcheck