Skip to content

Create go.yml

Create go.yml #1

Workflow file for this run

name: Test
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
jobs:
test:
strategy:
matrix:
go: [1.22.*]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
name: Go ${{ matrix.go }} ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Test
run: go test -v ./...