aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-06-18 11:04:48 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-06-18 11:10:28 +0900
commit4cbb94d39b52a5702ddde44104632f73a73b0006 (patch)
tree2dba1d1947f83398e9e6a8b266512eea59366ff0 /.github
parentAdd production syntax (diff)
downloadurubu-4cbb94d39b52a5702ddde44104632f73a73b0006.tar.gz
urubu-4cbb94d39b52a5702ddde44104632f73a73b0006.tar.xz
Set up CI
Diffstat (limited to '.github')
-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..47bc688
--- /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.16
+
+ - name: Test
+ run: go test -v ./...