diff --git a/.github/workflows/codacy.yml b/.github/workflows/codacy.yml index 0eb3687..e5ca250 100644 --- a/.github/workflows/codacy.yml +++ b/.github/workflows/codacy.yml @@ -33,6 +33,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Check for non-UTF-8 files + run: | + find . -type f -exec file --mime {} + | grep -v 'charset=utf-8' || true + # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis - name: Run Codacy Analysis CLI uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b