Skip to content

Merge branch 'main' of github.com:newtovaux/platforminfo #15

Merge branch 'main' of github.com:newtovaux/platforminfo

Merge branch 'main' of github.com:newtovaux/platforminfo #15

name: CycloneDX PHP Composer Generate SBOM
on:
workflow_dispatch:
push:
paths:
- '**.php'
- 'composer.*'
jobs:
sbom:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1', '8.2']
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: composer
- name: Generate BOM
run: |
composer update
composer make-bom composer.json