Automate pprof insertion (#29) #176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |