aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-06-03 00:35:07 +0900
committerGitHub <noreply@github.com>2021-06-03 00:35:07 +0900
commit6a02a68fc34bc6e4b7da52fcf4720308071d5091 (patch)
tree9e642237755536710a383a76189796ec0522e99c
parentUpdate README (diff)
downloadtre-6a02a68fc34bc6e4b7da52fcf4720308071d5091.tar.gz
tre-6a02a68fc34bc6e4b7da52fcf4720308071d5091.tar.xz
Set up CI
-rw-r--r--.github/workflows/test.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..26f60e8
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,22 @@
+name: Test
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+jobs:
+
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up Go
+ uses: actions/setup-go@v2
+ with:
+ go-version: 1.15
+
+ - name: Test
+ run: go test -v ./...