Try to fix security warnings #244
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: CI | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: [push] | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: php-actions/composer@v6 | |
| with: | |
| php_version: "8.4.10" | |
| - name: PHPUnit tests | |
| uses: php-actions/phpunit@v4 | |
| env: | |
| XDEBUG_MODE: coverage | |
| with: | |
| test_suffix: "Test.php" # get rid of warning after updating to PHPUnit11 | |
| php_extensions: "xdebug mbstring xml curl" | |
| configuration: "./phpunit.xml" | |
| coverage_clover: "coverage.xml" | |
| version: "12.4.2" # keep in sync with composer version | |
| php_version: "8.4.10" | |
| - name: Code coverage with codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |