Skip to content

Merge pull request #52 from slonopotamus/freebsd-ci #133

Merge pull request #52 from slonopotamus/freebsd-ci

Merge pull request #52 from slonopotamus/freebsd-ci #133

Workflow file for this run

name: test
on:
push:
branches:
- main
- 'release/**'
pull_request:
jobs:
golangci-lint:
runs-on: ubuntu-20.04
timeout-minutes: 20
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: 1.18.x
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.45.0
args: --verbose
test-unit:
strategy:
matrix:
os: [ ubuntu-20.04, windows-2022 ]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.18.x
- uses: actions/[email protected]
with:
fetch-depth: 1
- name: "Run unit tests"
run: go test -v .
test-unit-freebsd:
runs-on: ubuntu-22.04
timeout-minutes: 20
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1
- uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: pkg install -y go
run: go test -v .