Bladeren bron

move codacy action to workflows to get it to execute

we seem to have never noticed that it didn't ever run after adding it
El RIDO 11 maanden geleden
bovenliggende
commit
020818d3fc
2 gewijzigde bestanden met toevoegingen van 3 en 4 verwijderingen
  1. 0 1
      .gitattributes
  2. 3 3
      .github/workflows/codacy-analysis.yml

+ 0 - 1
.gitattributes

@@ -24,7 +24,6 @@ js/test/ export-ignore
 .styleci.yml export-ignore
 .styleci.yml export-ignore
 .travis.yml export-ignore
 .travis.yml export-ignore
 .vscode export-ignore
 .vscode export-ignore
-codacy-analysis.yml export-ignore
 crowdin.yml export-ignore
 crowdin.yml export-ignore
 BADGES.md export-ignore
 BADGES.md export-ignore
 CODE_OF_CONDUCT.md export-ignore
 CODE_OF_CONDUCT.md export-ignore

+ 3 - 3
codacy-analysis.yml → .github/workflows/codacy-analysis.yml

@@ -24,11 +24,11 @@ jobs:
     steps:
     steps:
       # Checkout the repository to the GitHub Actions runner
       # Checkout the repository to the GitHub Actions runner
       - name: Checkout code
       - name: Checkout code
-        uses: actions/checkout@v4
+        uses: actions/checkout@v5
 
 
       # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
       # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
       - name: Run Codacy Analysis CLI
       - name: Run Codacy Analysis CLI
-        uses: codacy/codacy-analysis-cli-action@1.1.0
+        uses: codacy/codacy-analysis-cli-action@4
         with:
         with:
           # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
           # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
           # You can also omit the token and run the tools that support default configurations
           # You can also omit the token and run the tools that support default configurations
@@ -44,6 +44,6 @@ jobs:
 
 
       # Upload the SARIF file generated in the previous step
       # Upload the SARIF file generated in the previous step
       - name: Upload SARIF results file
       - name: Upload SARIF results file
-        uses: github/codeql-action/upload-sarif@v1
+        uses: github/codeql-action/upload-sarif@v4
         with:
         with:
           sarif_file: results.sarif
           sarif_file: results.sarif