This is an automated email from the ASF dual-hosted git repository.
hufeng pushed a commit to branch dubbo3
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
The following commit(s) were added to refs/heads/dubbo3 by this push:
new 0ce6bdb Create go.yml
0ce6bdb is described below
commit 0ce6bdb36722e46c8367ad39b94aa4ae48652ae8
Author: 胡锋 <[email protected]>
AuthorDate: Sun Oct 30 23:50:30 2022 +0800
Create go.yml
---
.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..7f9c21b
--- /dev/null
+++ b/.github/workflows/go.yml
@@ -0,0 +1,28 @@
+# This workflow will build a golang project
+# For more information see:
https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
+
+name: Go
+
+on:
+ push:
+ branches: [ "dubbo3" ]
+ pull_request:
+ branches: [ "dubbo3" ]
+
+jobs:
+
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Set up Go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.18
+
+ - name: Build
+ run: make build-lint
+
+ - name: Test
+ run: ./dj_lint