ci: Update release workflow to include Go setup and testing steps #1
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
| name: Go Test | |
| on: | |
| pull_request: | |
| branches: | |
| - "**" # Run on PRs to any branch | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. Checkout the PR code | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # 2. Set up Go | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.23.5" | |
| - name: Download Go modules | |
| run: go mod tidy | |
| # Run tests | |
| - name: Run tests | |
| run: go test ./... -v |