fix: correct code for postgres #19
This file contains hidden or 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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - uses: extractions/setup-just@v2 | |
| - uses: bufbuild/buf-action@v1 | |
| with: | |
| setup_only: true | |
| - name: Install Javy | |
| run: | | |
| curl -L https://github.com/bytecodealliance/javy/releases/download/v8.0.0/javy-x86_64-linux-v8.0.0.gz -o javy.gz | |
| gunzip javy.gz | |
| chmod +x javy | |
| sudo mv javy /usr/local/bin/javy | |
| - uses: sqlc-dev/setup-sqlc@v4 | |
| with: | |
| sqlc-version: "1.30.0" | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Lint | |
| run: just lint | |
| - name: Run unit tests | |
| run: just test | |
| - name: Build WASM plugin | |
| run: just plugin-wasm | |
| - name: Verify generated examples match | |
| run: sqlc -f sqlc.dev.yaml diff | |
| working-directory: examples |