Skip to content

ci: add missing workflow check to linter #8159

ci: add missing workflow check to linter

ci: add missing workflow check to linter #8159

Workflow file for this run

name: Lint
on:
pull_request:
push:
paths-ignore:
- '**.md'
branches:
- main
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/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/*.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@v3
if: env.GIT_DIFF
with:
version: v1.52.1
args: --timeout 10m
github-token: ${{ secrets.github_token }}