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