mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-15 02:12:55 +01:00
Add FreeBSD testing to CI workflow
Included FreeBSD versions 13.4, 14.0, and 14.1 in the CI pipeline. Configured the workflow to harden the runner, checkout code, and run tests on the FreeBSD virtual machine.
This commit is contained in:
parent
eed3dec7d6
commit
89f29b241e
1 changed files with 25 additions and 0 deletions
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
|
@ -136,6 +136,31 @@ jobs:
|
||||||
- name: Run go test
|
- name: Run go test
|
||||||
run: |
|
run: |
|
||||||
go test -race -shuffle=on ./...
|
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:
|
reuse:
|
||||||
name: REUSE Compliance Check
|
name: REUSE Compliance Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue