Skip to content

Add golangci-lint github action #4

Add golangci-lint github action

Add golangci-lint github action #4

Workflow file for this run

name: Linter
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Lint Go code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.56