Skip to content

Fix regex parser for parsing functions having SQL body with language sql (PG 15 feature) #7485

Fix regex parser for parsing functions having SQL body with language sql (PG 15 feature)

Fix regex parser for parsing functions having SQL body with language sql (PG 15 feature) #7485

Workflow file for this run

name: Go
on:
push:
branches: ['main', '*.*-dev', '*.*.*-dev']
pull_request:
branches: [main]
jobs:
build-and-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.23.1"
- name: Build
run: |
cd yb-voyager
go build -v ./...
- name: Test
run: |
cd yb-voyager
go test -v ./... -tags 'unit'
- name: Vet
run: |
cd yb-voyager
go vet ./...
- name: Run staticcheck
run: |
cd yb-voyager
go install honnef.co/go/tools/cmd/[email protected]
staticcheck ./...