Merge pull request #57 from buildplan/main

Add check for non-UTF-8 files in Codacy workflow
This commit is contained in:
buildplan
2025-10-14 12:07:55 +01:00
committed by GitHub

View File

@@ -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