ci(workflow): add Go CI matrix for tests #1
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 | |
| on: [ push, pull_request ] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| version: ['1.23', '1.24', '1.25', 'stable'] | |
| os: [ macos-latest, ubuntu-latest, windows-latest ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v6.2.0 | |
| with: | |
| go-version: ${{ matrix.version }} | |
| - name: Checkout Git from Repository | |
| uses: actions/checkout@v6.0.2 | |
| - name: Run unit tests | |
| run: go test -v ./... |