Skip to content

.github: add golangci-lint workflow job. #4

.github: add golangci-lint workflow job.

.github: add golangci-lint workflow job. #4

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- "release-*"
- "test/**"
pull_request:
branches:
- main
- "release-*"
env:
GO_VERSION: "1.22.1"
golangci-lint:
name: golangci-lint
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- uses: golangci/golangci-lint-action@v6
with:
version: v1.61
args: --timeout=10m