chore: update go-test.yml #172
This file contains 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: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master, develop] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: ["1.18", "1.20", "1.21", "1.22"] | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
## Defines the platform for each test run | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
check-latest: true | |
- name: Run Go Test | |
run: go test -v ./... |