aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-03-09 23:08:48 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2020-03-09 23:08:48 +0100
commit17dbd886616f82be2a59c0d02fd93d3d69f2392c (patch)
tree138ba407e34c5e9e8d399db8fd20db9a672b7df0 /.github/workflows
parent1a7db85bca7027d90afdb5ce711622aaac9feaed (diff)
downloadgo-git-17dbd886616f82be2a59c0d02fd93d3d69f2392c.tar.gz
*: add gh actions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..bf1651e
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,18 @@
+on: [push, pull_request]
+name: Test
+jobs:
+ test:
+ strategy:
+ matrix:
+ go-version: [1.12.x, 1.13.x, 1.14.x]
+ platform: [ubuntu-latest, macos-latest, windows-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@v2
+ - name: Test
+ run: go test -v ./... \ No newline at end of file