fix: update all dependencies #678
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 | |
| jobs: | |
| samples: | |
| strategy: | |
| matrix: | |
| go-version: [1.25.x, 1.26.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@v7 | |
| - name: Pre-pull Spanner Emulator image | |
| run: | | |
| for i in {1..5}; do | |
| docker pull gcr.io/cloud-spanner-emulator/emulator:latest && break || sleep 5 | |
| done | |
| - name: Run sample application | |
| working-directory: ./samples | |
| run: go run run_sample.go | |
| - name: Run snippets | |
| working-directory: ./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 |