Skip to content

Lint

Lint #547

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
golangci:
# We need to run the linter on the same image we use for building, since it
# needs the C libraries installed for the dependencies to typecheck.
runs-on: ubuntu-latest
container: cometbft/cometbft-db-testing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22.2"
- uses: golangci/[email protected]
with:
args: --timeout 10m
version: latest
github-token: ${{ secrets.github_token }}