mirror of
https://github.com/FiloSottile/age.git
synced 2026-09-24 08:54:16 +00:00
.github/workflows: use vmactions/freebsd-vm for FreeBSD (#344)
Replaces CirrusCI dependency.
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
env:
|
|
||||||
CIRRUS_CLONE_DEPTH: 1
|
|
||||||
|
|
||||||
freebsd_12_task:
|
|
||||||
freebsd_instance:
|
|
||||||
image: freebsd-12-1-release-amd64
|
|
||||||
install_script: pkg install -y go
|
|
||||||
build_script: go build -v ./...
|
|
||||||
test_script: go test -race ./...
|
|
||||||
@@ -22,6 +22,23 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: go test -race ./...
|
run: go test -race ./...
|
||||||
|
freebsd:
|
||||||
|
name: Test (FreeBSD)
|
||||||
|
runs-on: macos-10.15
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Run tests
|
||||||
|
# Unpinned Action allowed with read-only permissions.
|
||||||
|
uses: vmactions/freebsd-vm@v0.1.5
|
||||||
|
with:
|
||||||
|
prepare: |
|
||||||
|
freebsd-version
|
||||||
|
pkg install -y go
|
||||||
|
go version
|
||||||
|
run: go test -race ./...
|
||||||
gotip:
|
gotip:
|
||||||
name: Test (Go tip)
|
name: Test (Go tip)
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
Reference in New Issue
Block a user