Skip to content

chore: update go-test.yml #171

chore: update go-test.yml

chore: update go-test.yml #171

Workflow file for this run

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 ./...