From: Roey Darwish Dror Date: Mon, 24 Jan 2022 01:28:23 +0000 (+0200) Subject: Add FreeBSD testing in Github Actions (#419) X-Git-Tag: v1.7.2~125 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=c4cd7f38028d9da5632d13e523299dbc851b07f6;p=fsnotify.git Add FreeBSD testing in Github Actions (#419) Fixes #389 --- 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 - -