Skip to content

Merge branch 'feat/json' #39

Merge branch 'feat/json'

Merge branch 'feat/json' #39

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
jobs:
# Test on various OS with default Go version.
tests:
name: Test on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: ['1.20.x', '1.21.x']
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Print Go version
run: go version
- name: Get dependencies
run: go get -v -t -d ./...
- name: Run tests
run: go test -v -failfast -tags=test -timeout="3m" -race ./...