Skip to content

feat(agent): one typed error for every summary provider (closes #963) #7798

feat(agent): one typed error for every summary provider (closes #963)

feat(agent): one typed error for every summary provider (closes #963) #7798

Workflow file for this run

name: Lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
# Track go.mod so future Go bumps don't need a parallel workflow
# edit; release.yml uses the same pattern.
go-version-file: go.mod
- uses: jdx/mise-action@f10502fc09dadecfefb962fff68ce77213930204 # v4
- name: Run linters
run: mise run lint
# So this golangci-lint uses the same config as `mise run lint:go`, but using special sauce to
# create inline feedback on GitHub's UI. On local dev, the same issues should be surfaced by
# mise-tasks/lint/go
- name: Run golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
with:
version: 'v2.11.3'
debug: 'clean'