Skip to content

docs: Format Docs #11347

docs: Format Docs

docs: Format Docs #11347

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
- release/*
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
name: Lint Go code
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v4
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
**/*.plush
go.mod
go.sum
- uses: actions/setup-go@v5
if: env.GIT_DIFF
with:
go-version-file: go.mod
cache: false
- uses: golangci/golangci-lint-action@v6
if: env.GIT_DIFF
with:
version: v1.58.0
install-mode: goinstall
args: --timeout 10m
github-token: ${{ secrets.github_token }}
skip-save-cache: true