Skip to content

chore(flake): update lock #416

chore(flake): update lock

chore(flake): update lock #416

Workflow file for this run

name: Fossa Scan
on:
push:
pull_request:
jobs:
scan:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v16
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: opentelemetry
extraPullNames: nix-shell, php-src-nix
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Setup Nix magic cache
uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Instantiate Nix develop
uses: nicknovitski/nix-develop@v1
- name: Get composer cache directory
id: composercache
run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"
- name: Cache dependencies
uses: actions/cache@v4
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@v1
with:
api-key: '${{ secrets.FOSSA_API_KEY }}'
- name: Run Fossa Test
uses: fossas/fossa-action@v1
with:
api-key: '${{ secrets.FOSSA_API_KEY }}'
run-tests: true