build(deps): bump google.golang.org/grpc from 1.79.1 to 1.79.3 in /samples #64
Workflow file for this run
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
| on: | |
| pull_request: | |
| branches: [ main ] | |
| name: Run Samples for PostgreSQL | |
| jobs: | |
| samples: | |
| strategy: | |
| matrix: | |
| go-version: [1.24.x, 1.25.x] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Run Hello World | |
| working-directory: ./postgresql/samples/helloworld | |
| run: go run main.go | |
| - name: Run Quickstart | |
| working-directory: ./postgresql/samples/quickstart | |
| run: go run main.go | |
| - name: Run sample application | |
| working-directory: ./postgresql/samples | |
| run: go run run_sample.go | |
| - name: Run snippets | |
| working-directory: ./postgresql/samples | |
| run: | | |
| for filename in snippets/*.go; do | |
| name=${filename##*/} | |
| base=${name%.go} | |
| echo "Running sample $base" | |
| go run run_sample.go "$base" || ! break | |
| done |