Skip to content

Merge pull request #115 from stackql/claude/fix-window-function-execu… #1110

Merge pull request #115 from stackql/claude/fix-window-function-execu…

Merge pull request #115 from stackql/claude/fix-window-function-execu… #1110

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- version*
tags:
- lint*
- build*
pull_request:
env:
GOLANGCI_LINT_VERSION: ${{ vars.GOLANGCI_LINT_VERSION == '' && 'v2.5.0' || vars.GOLANGCI_LINT_VERSION }}
DEFAULT_STEP_TIMEOUT: ${{ vars.DEFAULT_STEP_TIMEOUT_MIN == '' && '20' || vars.DEFAULT_STEP_TIMEOUT_MIN }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4.1.1
- name: Setup Go environment
uses: actions/setup-go@v5.0.0
with:
go-version: '1.23.0'
cache: false
- name: Check workflow files
uses: docker://rhysd/actionlint:1.6.23
with:
args: -color
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8.0.0
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
args: --timeout ${{ env.DEFAULT_STEP_TIMEOUT }}m