Merge pull request #262 from gotd/dependabot/go_modules/github.com/go… #51
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: Test | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7.0.0 | |
| - name: Install Go | |
| uses: actions/setup-go@v7.0.0 | |
| with: | |
| go-version: "1.25" | |
| # setup-go provides module/build caching out of the box. | |
| - name: Test | |
| run: go test -race ./... |