feat(Instrumentation/Messenger): implement worker and middleware instrumentation #718
Workflow file for this run
This file contains hidden or 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: Fossa Scan | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| scan: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@fcafdd6392932010c2bd5094439b8e33be2a8a09 # v2.37.0 | |
| with: | |
| php-version: '8.4' | |
| extensions: grpc, mbstring, opentelemetry, pdo, pdo_sqlite | |
| coverage: xdebug | |
| - name: Get composer cache directory | |
| id: composercache | |
| run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" | |
| - name: Cache dependencies | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | |
| with: | |
| path: ${{ steps.composercache.outputs.dir }} | |
| key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} | |
| restore-keys: ${{ runner.os }}-composer- | |
| - name: List PHP installed extensions | |
| run: php -m | |
| - name: Update project dependencies | |
| run: | | |
| composer update --no-interaction --no-progress --ansi | |
| - name: Run Fossa Scan | |
| uses: fossas/fossa-action@ff70fe9fe17cbd2040648f1c45e8ec4e4884dcf3 # v1.9.0 | |
| with: | |
| api-key: '384c9e439463ce9d43a4bb7641d6785b' | |
| - name: Run Fossa Test | |
| uses: fossas/fossa-action@ff70fe9fe17cbd2040648f1c45e8ec4e4884dcf3 # v1.9.0 | |
| with: | |
| api-key: '384c9e439463ce9d43a4bb7641d6785b' | |
| run-tests: true |