Skip to content

Merge pull request #7 from thediveo/develop #19

Merge pull request #7 from thediveo/develop

Merge pull request #7 from thediveo/develop #19

Workflow file for this run

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