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

albumenj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-test-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 95c6b69  Update Actions version in workflow, and README file. (#2)
95c6b69 is described below

commit 95c6b69b46646217c81ac75114f0c67c499e721f
Author: Andy Cheung <[email protected]>
AuthorDate: Thu Oct 27 10:43:34 2022 +0800

    Update Actions version in workflow, and README file. (#2)
    
    * Update workflow's version.
    
    * Update README.md.
---
 .github/workflows/build-error-code-inspector.yml |  7 ++++---
 .github/workflows/license-check.yml              |  2 +-
 .github/workflows/unit-test.yml                  |  7 ++++---
 dubbo-error-code-inspector/README.md             | 14 +++++++++++---
 4 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/build-error-code-inspector.yml 
b/.github/workflows/build-error-code-inspector.yml
index 2da44a8..c9802b3 100644
--- a/.github/workflows/build-error-code-inspector.yml
+++ b/.github/workflows/build-error-code-inspector.yml
@@ -14,11 +14,12 @@ jobs:
     env:
       JAVA_VER: 8
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: "Set up JDK ${{ matrix.jdk }}"
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v3
         with:
           java-version: 8
+          distribution: 'zulu'
 
       - name: "Chmod mvnw"
         run: chmod +x mvnw
@@ -29,7 +30,7 @@ jobs:
           ../mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast clean install -DskipTests=true -DskipIntegrationTests=true 
-Dcheckstyle.skip=true -Dcheckstyle_unix.skip=true -Drat.skip=true 
-Dmaven.javadoc.skip=true
           
       - name: "Upload Error Code Inspector Package"
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
           name: "error-inspection-inspector"
           path: dubbo-error-code-inspector/target/dubbo-*.jar
\ No newline at end of file
diff --git a/.github/workflows/license-check.yml 
b/.github/workflows/license-check.yml
index edf4138..f6fb161 100644
--- a/.github/workflows/license-check.yml
+++ b/.github/workflows/license-check.yml
@@ -9,7 +9,7 @@ jobs:
   license:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: Check License
         uses: apache/skywalking-eyes@main
         env:
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index 783444f..b61c68c 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -19,13 +19,14 @@ jobs:
     env:
       JAVA_VER: ${{ matrix.jdk }}
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: "Set up JDK ${{ matrix.jdk }}"
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v3
         with:
           java-version: ${{ matrix.jdk }}
+          distribution: 'zulu'
 
-      - uses: actions/cache@v2
+      - uses: actions/cache@v3
         name: "Cache local Maven repository"
         with:
           path: ~/.m2/repository
diff --git a/dubbo-error-code-inspector/README.md 
b/dubbo-error-code-inspector/README.md
index 3abc688..7e3d0ef 100644
--- a/dubbo-error-code-inspector/README.md
+++ b/dubbo-error-code-inspector/README.md
@@ -22,18 +22,26 @@ This module is the detailed implementation of mechanism 
that checks (document li
 ## 本地运行 / Run locally
 ### 中文
 1. 方式 1
+
    切换到 dubbo-error-code-inspector 目录下执行 `mvn exec:java -Ddubbo.eci.path=<Dubbo 
源码路径>` 即可。
 
+
 2. 方式 2
-   切换到 dubbo-error-code-inspector 目录下执行 `mvn package` 打包。
-   之后在 `target` 目录下运行 `java -jar dubbo-error-code-inspector-1.0.0-SNAPSHOT.jar 
<Dubbo 源码路径>` 即可。
+
+   a. 切换到 dubbo-error-code-inspector 目录下执行 `mvn package` 打包。<br /><br />
+
+   b. 之后在 `target` 目录下运行 `java -jar 
dubbo-error-code-inspector-1.0.0-SNAPSHOT.jar <Dubbo 源码路径>` 即可。
 
 ### English
 1. Method 1
+
    Change directory to dubbo-error-code-inspector and execute `mvn exec:java 
-Ddubbo.eci.path=<Path to Dubbo Source>`.
 
+
 2. Method 2
-   (a). Change directory to dubbo-error-code-inspector and execute `mvn 
package`.
+
+   (a). Change directory to `dubbo-error-code-inspector` and execute `mvn 
package`. <br /><br />
+
    (b). In the `target` directory, execute `java -jar 
dubbo-error-code-inspector-1.0.0-SNAPSHOT.jar <Path to Dubbo Source>`
 
 # 原先在 dubbo 仓库的关于此的 PR / Related PR in 'dubbo' repository

Reply via email to