Skip to content

Workflow file for this run

name: run linter on each commit
on:
push:
branches:
- main
paths:
- '**/**.go'
- 'Makefile'
- '.github/workflows/lint.yml'
pull_request:
paths:
- '**/**.go'
- 'Makefile'
- '.github/workflows/lint.yml'
jobs:
quality-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Run linter
run: make lint