add some of pg_...
functions
#957
Workflow file for this run
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: Check Formatting, Committers and Generated Code | |
on: | |
pull_request: | |
branches: [ main ] | |
concurrency: | |
group: ci-check-repo-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
verify: | |
name: Verify format | |
runs-on: ubuntu-22.04 | |
outputs: | |
format: ${{ steps.should_format.outputs.format }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Check all | |
id: should_format | |
run: | | |
./scripts/check_bats_fmt.sh | |
if ./scripts/check_fmt.sh ; then | |
echo "code is formatted" | |
else | |
echo "Please run scripts/format_repo.sh to format this pull request." | |
exit 1; | |
fi | |
./postgres/parser/build.sh | |
GOFLAGS="-mod=readonly" go build ./... | |
go vet -mod=readonly ./... | |
env: | |
BRANCH_NAME: ${{ github.head_ref }} | |
CHANGE_TARGET: ${{ github.base_ref }} |