From c4cd7f38028d9da5632d13e523299dbc851b07f6 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Mon, 24 Jan 2022 03:28:23 +0200 Subject: [PATCH] Add FreeBSD testing in Github Actions (#419) Fixes #389 --- .github/workflows/test.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d900bc..47f55d0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,12 +30,26 @@ jobs: run: | go test --race ./... + testFreeBSD: + runs-on: macos-10.15 + name: test (freebsd, 1.17) + steps: + - uses: actions/checkout@v2 + - name: test (freebsd, 1.17) + id: test + uses: vmactions/freebsd-vm@v0.1.5 + with: + usesh: true + prepare: pkg install -y go + run: | + go test + lint: runs-on: ubuntu-latest steps: - name: setup Go uses: actions/setup-go@v2 - with: + with: go-version: '1.17' - name: checkout @@ -55,5 +69,3 @@ jobs: with: version: latest skip-go-installation: true - - -- 2.50.1