Skip to content

GoLang Linting

GoLang Linting #826

Workflow file for this run

name: GoLang Linting
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '**.go'
- '.github/workflows/**'
push:
jobs:
golint:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v4
# See also: https://github.com/actions/setup-go/pull/62
- run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- uses: golangci/golangci-lint-action@v6.0.1
with:
version: 'v1.55.2'
args: --timeout=30m0s