diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39a0452..271f49c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -136,6 +136,31 @@ jobs: - name: Run go test run: | go test -race -shuffle=on ./... + test-fbsd: + name: Test on FreeBSD ${{ matrix.osver }} + runs-on: ubuntu-latest + concurrency: + group: ci-test-freebsd-${{ matrix.osver }} + cancel-in-progress: true + strategy: + matrix: + osver: ['13.4', '14.0', '14.1'] + steps: + - name: Harden Runner + uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + with: + egress-policy: audit + - name: Checkout Code + uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # master + - name: Run go test on FreeBSD + uses: vmactions/freebsd-vm@v1 + - name: Run go test + with: + usesh: true + prepare: | + pkg install -y go + run: | + go test -race -shuffle=on ./... reuse: name: REUSE Compliance Check runs-on: ubuntu-latest