UML-3136: Update viewer journey templates to support combined LPAs #3433
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 - Service Front | |
on: | |
pull_request: | |
paths: | |
# only run when service-front is changed | |
- 'service-front/app/**' | |
permissions: | |
actions: read | |
checks: read | |
contents: read | |
deployments: read | |
issues: read | |
packages: read | |
pull-requests: read | |
repository-projects: read | |
security-events: read | |
statuses: read | |
env: | |
SERVICE-PATH: service-front | |
jobs: | |
psalm: | |
name: Psalm | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ${{ env.SERVICE-PATH }}/app | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PHP with tools | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
tools: vimeo/psalm | |
- name: Composer install | |
run: composer install | |
- name: Run psalm | |
run: psalm --output-format=github --taint-analysis --report=results.sarif | |
- name: Upload Security Analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: ./${{ env.SERVICE-PATH }}/app/results.sarif |