Skip to content

Merge pull request #5 from thediveo/develop #18

Merge pull request #5 from thediveo/develop

Merge pull request #5 from thediveo/develop #18

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@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@v5
with:
go-version: ${{matrix.go}}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
- name: Test Go packages
run: |
go build -race -tags plugger_dynamic -buildmode=plugin -o example/dynplug/dynplug.so ./example/dynplug
go test -v -race -p=1 -count=1 -tags plugger_dynamic ./...