[wip] Close cursor if it's opened by different tx #3355
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- main | |
- 'release/**' | |
pull_request: | |
branches: | |
- main | |
- 'release/**' | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
workflow_dispatch: | |
jobs: | |
lint: | |
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
- name: Install golangci-lint | |
if: runner.os == 'Linux' | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.62.2 | |
skip-cache: true | |
- name: Lint | |
if: runner.os == 'Linux' | |
run: make lint |