Merge pull request #777 from planetscale/go_1.26.2 #2627
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: unit-test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release-** | |
| pull_request: | |
| branches: | |
| - main | |
| - release-** | |
| jobs: | |
| build: | |
| name: Unit Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version-file: go.mod | |
| id: go | |
| - name: Build | |
| run: CGO_ENABLED=0 go install -v ./... | |
| - name: Unit Test | |
| run: make unit-test |