start testing on GitHub Actions
No windows yet, because a few portability issues remain.pull/22/head
parent
e08dd99c1e
commit
ab560ff007
@ -0,0 +1,2 @@
|
|||||||
|
# To prevent CRLF breakages on Windows for fragile files, like testdata.
|
||||||
|
* -text
|
@ -0,0 +1 @@
|
|||||||
|
github: mvdan
|
@ -0,0 +1,18 @@
|
|||||||
|
on: [push, pull_request]
|
||||||
|
name: Test
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
go-version: [1.13.x]
|
||||||
|
platform: [ubuntu-latest, macos-latest]
|
||||||
|
runs-on: ${{ matrix.platform }}
|
||||||
|
steps:
|
||||||
|
- name: Install Go
|
||||||
|
uses: actions/setup-go@v1
|
||||||
|
with:
|
||||||
|
go-version: ${{ matrix.go-version }}
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
- name: Test
|
||||||
|
run: go test ./...
|
Loading…
Reference in New Issue