Skip to content

Test added

Test added #294

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
version:
name: Test
permissions:
contents: read
strategy:
matrix:
go-version: ['oldstable', 'stable']
os: [ubuntu-latest, macos-13, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: "${{ matrix.go-version }}"
- name: Go Test
run: go test -race ./...
module:
name: Test
permissions:
contents: read
strategy:
matrix:
go-version-file: ['go.mod']
os: [ubuntu-latest, macos-13, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version-file: "${{ matrix.go-version-file }}"
- name: Go Test
run: go test -race ./...