ci: Optimize workflow syntax.
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3067192..4359dcf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,37 +9,47 @@
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: ${{ matrix.os }}
+
+    strategy:
+      matrix:
+        os: 
+          - ubuntu-latest
+        go_version:
+          - 1.12
+        jdk_version:
+          - 1.8
+    env:
+      DING_TOKEN: 6374f1bf8d4f23cde81d4a4b8c1f0bc98cc92b5151ca938ab938d3d7f4230fc4
+      DING_SIGN: SECa98677289194bb0e5caec3051301d06515750ff1bd2f932a4704298afb2e0ae6
 
     steps:
     - uses: actions/checkout@v2
 
-    - name: Set up JDK 1.8
+    - name: Set up JDK ${{ matrix.jdk_version }}
       uses: actions/setup-java@v1
       with:
-        java-version: 1.8
+        java-version: ${{ matrix.jdk_version }}
 
-    - name: Set up Go 1.x
+    - name: Set up Go ${{ matrix.go_version }}
       uses: actions/setup-go@v2
       with:
-        go-version: 1.12
+        go-version: ${{ matrix.go_version }}
       id: go
-      
+
     - name: Cache Go Dependence
       uses: actions/cache@v2
       with:
         path: ~/go/pkg/mod
         key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
-        restore-keys: |
-          ${{ runner.os }}-go-
+        restore-keys: ${{ runner.os }}-go-
 
     - name: Cache local Maven repository
       uses: actions/cache@v2
       with:
         path: ~/.m2/repository
         key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          ${{ runner.os }}-maven-
+        restore-keys: ${{ runner.os }}-maven-
 
     - name: Java Test And Package
       run: |
@@ -58,20 +68,3 @@
       
     - name: Coverage
       run: bash <(curl -s https://codecov.io/bash)
-
-#     - name: DingTalk Message Notify
-#       uses: zcong1993/actions-ding@v3.0.1
-#       if: ${{ github.repository == 'apache/dubbo-go-hessian2' }}
-#       with:
-#         # DingDing bot token
-#         dingToken: #{your_token}
-#         secret: #{your_sign}
-#         # Post Body to send
-#         body: |
-#           {
-#             "msgtype": "markdown",
-#             "markdown": {
-#                 "title": "Github Actions",
-#                 "text": "## Github Actions \n - name: CI \n - repository: ${{ github.repository }} \n - trigger: ${{ github.actor }} \n - ref: ${{ github.ref }} \n - status: ${{ job.status	}} \n - environment: ${{ runner.os }}"
-#             }
-#           }