win120a opened a new pull request, #1:
URL: https://github.com/apache/dubbo-test-tools/pull/1

   这个 PR 引入了在 GitHub Actions 中 warn, error 链接指向的检查机制的具体实现。
   
   This pull request introduces the detailed code of mechanism that checks 
(document links of) error code in logger invocations.
   
   # 功能 / Features
   ## 中文
   1. 代码中全部错误码的提取 (见下述截图中的 All Error Codes 部分)
   2. 错误码文档链接失效的判定 (见下述截图中的 Error codes which document links are not reachable 
部分)
   3. 未用错误码的 Logger 方法的提示 (见下述截图中的 Illegal logger method invocations 部分)
   4. GitHub Actions 的自动检查。(目前不会抛出异常。其会将结果上传到 GitHub 的 Artifacts。)
   
   ## English
   1. Error code extraction. ('All Error Codes' in screenshot)
   2. Link testing of document of error codes. ('Error codes which document 
links are not reachable' in screenshot)
   3. Hint of logger method invocations which don't use error code. ('Illegal 
logger method invocations' in screenshot)
   4. Automatic checking in GitHub Actions. (Currently it does not throw 
exception. It will upload result to artifacts in GitHub Actions.)
   
   # Actions 的运行截图 / Screenshot in GitHub Actions
   
![eci-1](https://user-images.githubusercontent.com/4351489/192001227-36315550-60e4-4846-9550-d4cd1e2363c5.jpg)
   
   # 运行 / Run
   ## 本地运行 / Run locally
   切换到 dubbo-error-code-inspector 目录下执行 `mvn exec:java` 即可。
   
   Change directory to dubbo-error-code-inspector and execute `mvn exec:java`.
   
   ## GitHub Actions 自动运行 / Automatically run in GitHub Actions
   GitHub Actions 会在代码推送时自动运行本程序。可以到 Artifacts 下载 GitHub Actions 的运行结果。文件名为 
`error-inspection-result.txt`。
   
   This program will be executed by GitHub Actions when someone pushes patches. 
The result can be downloaded in 'Artifacts' section. The file name of report is 
`error-inspection-result.txt`.
   
   # 另外的修改 / Another Changes
   
   ## 中文
   1. 由于 GitHub Actions 的 Ubuntu 18 运行器已经弃用 <sup>[1]</sup>。本 PR 修改了 Ubuntu 
运行器的版本为 Ubuntu 20。
   
   ## English
   1. Since Ubuntu 18 runner in GitHub Actions is deprecated <sup>[1]</sup>, 
this pull request also changes the version of Ubuntu runner to Ubuntu 20.
   
   # 参考 / Reference
   [1] 
https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to