tools/gendocs: add dynamic multi-directory qparam scanning; implement… #3316
This file contains hidden or 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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened, labeled, ready_for_review] | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
lint: | |
strategy: | |
matrix: | |
go-version: ['1.24.x'] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install `golangci-lint` | |
uses: golangci/golangci-lint-action@v8 | |
with: | |
# NOTE: See `lint-update-ci` target in Makefile. | |
version: v2.3.0 | |
args: --timeout=30m | |
- name: Lint | |
run: | | |
export GOPATH="$(go env GOPATH)" | |
make lint | |
TAGS=statsd make lint ############### TODO: delete after v3.30 (by Fall 2025) | |
TAGS="nethttp ht debug" make lint | |
TAGS="aws gcp azure" make lint | |
make fmt-check | |
make spell-check |