From d6fbf5fb523167ee9fc64684fb5248a855bb04cd Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong (cubxxw)" <3293172751nss@gmail.com> Date: Sat, 16 Mar 2024 18:41:25 +0800 Subject: [PATCH] fix: fix cicd build project --- README.md | 8 ++++++++ action.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6462ad9..d546964 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,14 @@ jobs: run: cld ``` +Or use actions: + +```yaml +- name: Code Language Detector + uses: kubecub/comment-lang-detector@v1.0.0 +``` + + This workflow triggers on both push events and pull requests. It checks out the code, sets up the Go environment, installs the Comment Language Detector, and runs it against the codebase according to the specified configuration. ### Conclusion diff --git a/action.yml b/action.yml index 968ab51..0eb80af 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ runs: using: 'composite' steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Go uses: actions/setup-go@v2