You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2019/11/06 13:51:19 UTC

[skywalking-cli] branch kezhenxu94-patch-2 created (now a2ca521)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a change to branch kezhenxu94-patch-2
in repository https://gitbox.apache.org/repos/asf/skywalking-cli.git.


      at a2ca521  Set up GitHub Action for PR and push

This branch includes the following new commits:

     new a2ca521  Set up GitHub Action for PR and push

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-cli] 01/01: Set up GitHub Action for PR and push

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch kezhenxu94-patch-2
in repository https://gitbox.apache.org/repos/asf/skywalking-cli.git

commit a2ca521cf7eb6844a5e8ed9e9fb21f89a518246b
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Wed Nov 6 21:51:14 2019 +0800

    Set up GitHub Action for PR and push
---
 .github/workflows/go.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
new file mode 100644
index 0000000..62aa1dd
--- /dev/null
+++ b/.github/workflows/go.yml
@@ -0,0 +1,28 @@
+name: Go
+on: [push, pull_request]
+jobs:
+
+  build:
+    name: Build
+    runs-on: ubuntu-latest
+    steps:
+
+    - name: Set up Go 1.13
+      uses: actions/setup-go@v1
+      with:
+        go-version: 1.13
+      id: go
+
+    - name: Check out code into the Go module directory
+      uses: actions/checkout@v1
+
+    - name: Get dependencies
+      run: |
+        go get -v -t -d ./...
+        if [ -f Gopkg.toml ]; then
+            curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
+            dep ensure
+        fi
+
+    - name: Build
+      run: go build -v .