Skip to content

chore: update go-test.yml #172

chore: update go-test.yml

chore: update go-test.yml #172

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