wip #58
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: Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| # see https://github.com/composer/composer/issues/9368#issuecomment-718112361 | |
| COMPOSER_ROOT_VERSION: "dev-main" | |
| jobs: | |
| composer-audit: | |
| runs-on: ubuntu-latest | |
| name: Composer audit | |
| steps: | |
| - name: "Checkout code" | |
| uses: actions/checkout@v4 | |
| with: | |
| set-safe-directory: '*' | |
| - name: Install PHP with extensions | |
| uses: shivammathur/setup-php@2.26.0 | |
| with: | |
| coverage: "none" | |
| php-version: 8.2 | |
| tools: composer:v2 | |
| - name: "Composer install" | |
| uses: "ramsey/composer-install@2.2.0" | |
| with: | |
| composer-options: "--prefer-dist" | |
| - name: Run composer audit | |
| uses: alamirault/composer-audit-action@v1 | |
| # tests: | |
| # strategy: | |
| # fail-fast: false | |
| # matrix: | |
| # actions: | |
| # - | |
| # name: 'Phpunit' | |
| # run: composer phpunit | |
| # | |
| # name: ${{ matrix.actions.name }} | |
| # runs-on: ubuntu-latest | |
| # timeout-minutes: 10 | |
| # | |
| # steps: | |
| # - uses: actions/checkout@v3 | |
| # | |
| # # see https://github.com/shivammathur/setup-php | |
| # - | |
| # uses: shivammathur/setup-php@v2 | |
| # with: | |
| # php-version: 8.1 | |
| # coverage: none | |
| # | |
| # - uses: "ramsey/composer-install@v1" | |
| # | |
| # - run: ${{ matrix.actions.run }} |