mirror of
https://github.com/FiloSottile/age.git
synced 2026-03-11 08:55:41 +00:00
.github/workflows: use vmactions/freebsd-vm for FreeBSD (#344)
Replaces CirrusCI dependency.
This commit is contained in:
parent
3bd9ab8e9b
commit
e2fc716c8b
2 changed files with 17 additions and 9 deletions
|
|
@ -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 ./...
|
|
||||||
17
.github/workflows/test.yml
vendored
17
.github/workflows/test.yml
vendored
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue