codacy / codacy-coverage-reporter-action

GitHub Action for the codacy-coverage-reporter
Other
58 stars 15 forks source link

[CY-4176] Master failing? #36

Closed milehimikey closed 3 years ago

milehimikey commented 3 years ago

Looks like a recent change may have messed up this action, I am now getting this on all builds:

/home/runner/work/_temp/c53da6bb-ae05-463d-b549-29d4ff3c844d.sh: line 3: ./entrypoint.sh: No such file or directory

step just looks like:

     - name: Run codacy-coverage-reporter
        uses: codacy/codacy-coverage-reporter-action@master
        with:
          project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
github-actions[bot] commented 3 years ago

Internal ticket created : CY-4176

yogin commented 3 years ago

Getting the same issue

    - name: Publish code coverage
      uses: codacy/codacy-coverage-reporter-action@master
      with:
        project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
        coverage-reports: coverage.xml

with output

Run codacy/codacy-coverage-reporter-action@master
/home/runner/work/_temp/0e87eda4-0f1c-4849-aac2-dbbf6292a42c.sh: line 3: ./entrypoint.sh: No such file or directory
Error: Process completed with exit code 127.
yogin commented 3 years ago

Current workaround, use the previous commit hash instead of master

    - name: Publish code coverage
      uses: codacy/codacy-coverage-reporter-action@5409fccf86ceb72547bb9fe6673ea2d3b4f62e6f
      with:
        project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
        coverage-reports: coverage.xml
FedorSmirnov89 commented 3 years ago

Also getting the exact same issue as described by @milehimikey and @yogin .

mrfyda commented 3 years ago

Workflows using master are now fixed!

To avoid this issue in the future, we recommend that you use a fixed tag, like codacy/codacy-coverage-reporter-action@v1 instead of master. You can configure dependabot to keep the action updated.

We've also updated the README to encourage this behavior for new users.

Thank you to everyone who reported and suggested quick workarounds. ❤️