chore: update go-test.yml #171
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@v2 | |
with: | |
submodules: true | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Run Go Test | |
run: go test -v ./... |