Merge pull request #1239 from csrdelft/feature/dies2025 #2560
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Psalm Static analysis | |
on: [push, pull_request] | |
jobs: | |
psalm: | |
name: Psalm | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Psalm | |
uses: docker://ghcr.io/psalm/psalm-github-actions | |
with: | |
composer_ignore_platform_reqs: true | |
composer_require_dev: true | |
security_analysis: true | |
report_file: results.sarif | |
- name: Upload Security Analysis results to GitHub | |
if: github.repository == 'csrdelft/csrdelft.nl' | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: results.sarif |