Renovate update admin minor and patch updates (PHP 8.2) #3455
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 analysis | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "service-admin/**" | |
- "service-api/**" | |
- "service-front/**" | |
- "service-pdf/**" | |
- "shared/**" | |
jobs: | |
psalm_all_php_8_2: | |
name: psalm-scan | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
scan: | |
- name: service-admin | |
path: "./service-admin" | |
- name: service-front | |
path: "./service-front" | |
- name: service-api | |
path: "./service-api" | |
- name: shared | |
path: "./shared" | |
defaults: | |
run: | |
working-directory: ${{ matrix.scan.path }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "8.2" | |
- name: Composer install | |
run: composer install --prefer-dist --optimize-autoloader --no-suggest --no-interaction | |
- name: Run psalm | |
run: ./vendor/bin/psalm --output-format=github --report=psalm-results.sarif --no-cache | |
- name: Upload Security Analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@v1 | |
with: | |
sarif_file: ${{ matrix.scan.path }}/psalm-results.sarif | |
psalm_all_php: | |
name: psalm-scan | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
scan: | |
- name: service-pdf | |
path: "./service-pdf" | |
defaults: | |
run: | |
working-directory: ${{ matrix.scan.path }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "8.1" | |
- name: Composer install | |
run: composer install --prefer-dist --optimize-autoloader --no-suggest --no-interaction | |
- name: Run psalm | |
run: ./vendor/bin/psalm --output-format=github --report=psalm-results.sarif | |
- name: Upload Security Analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@v1 | |
with: | |
sarif_file: ${{ matrix.scan.path }}/psalm-results.sarif |