Skip to content

test: FIR-37859 use user engine for long query test (#118) #162

test: FIR-37859 use user engine for long query test (#118)

test: FIR-37859 use user engine for long query test (#118) #162

Workflow file for this run

name: Code quality checks
on:
workflow_call:
inputs:
branch:
required: false
type: string
push:
branches: [ main, 1.x ]
jobs:
check-code:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
ref: ${{ inputs.branch }}
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.18.0'
- name: Install goling
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1
- name: Install gocyclo
run: go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
- name: Install goimports
run: go install golang.org/x/tools/cmd/[email protected]
- name: Run pre-commit checks
uses: pre-commit/[email protected]