Skip to content

Develop

Develop #36

Workflow file for this run

name: build and test
on:
push:
branches:
- master
pull_request:
branches:
- master
- develop
jobs:
buildandtest:
name: Build and Test on Go ${{matrix.go}}
runs-on: ubuntu-latest
strategy:
matrix:
go: [ 'stable', 'oldstable' ]
steps:
- name: Set up Go ${{matrix.go}}
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # pin@v5
with:
go-version: ${{matrix.go}}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # pin@v4
- name: Test
run: go test -v -p=1 -race ./...