mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-29 16:14:59 +00:00
Merge pull request #57 from buildplan/main
Add check for non-UTF-8 files in Codacy workflow
This commit is contained in:
4
.github/workflows/codacy.yml
vendored
4
.github/workflows/codacy.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user