Fix catalog-only queries check. Execute requested DDL even in default route blocked state. #2451
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: linters | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
fmtcheck: | |
name: go fmt check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.0' | |
cache: false | |
- name: go fmt check | |
run: make fmtcheck | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.0' | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
args: --timeout=10m --out-format=colored-line-number --skip-dirs=yacc/console | |
goimports: | |
runs-on: ubuntu-latest | |
name: goimports check | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: goimports check | |
uses: DarthBenro008/[email protected] | |
with: | |
root-path: './' # The relative root path to run goimports | |
excludes: "./yacc/" |