OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc3526d
)
update
action
author
Chengcheng Zhang
<943420582@qq.com>
Mon, 9 Dec 2019 02:10:14 +0000
(10:10 +0800)
committer
Chengcheng Zhang
<943420582@qq.com>
Mon, 9 Dec 2019 02:10:14 +0000
(10:10 +0800)
.github/workflows/go.yml
[new file with mode: 0644]
patch
|
blob
diff --git a/.github/workflows/go.yml
b/.github/workflows/go.yml
new file mode 100644
(file)
index 0000000..
8468611
--- /dev/null
+++ b/
.github/workflows/go.yml
@@ -0,0
+1,18
@@
+on: [push, pull_request]
+name: Test
+jobs:
+ test:
+ strategy:
+ matrix:
+ go-version: [1.12.x, 1.13.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@v1
+ - name: Test
+ run: go test ./...
\ No newline at end of file