1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-09-03 04:32:33 +02:00

update github actions

This commit is contained in:
Dmytro Novash
2024-08-12 18:32:53 +03:00
parent 4ad3277c18
commit cd6a887688
2 changed files with 8 additions and 13 deletions

View File

@@ -36,11 +36,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@aa1fe473f9c687b6fb896056d771232c0bc41161
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
coverage: none
tools: phpmd
@@ -48,11 +49,5 @@ jobs:
run: php ./compiler.php
- name: Run PHPMD
run: phpmd ./dist sarif codesize --reportfile phpmd-results.sarif
run: phpmd ./src github --exclude './src/includes/*'
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: phpmd-results.sarif
wait-for-processing: true