diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 2243506..f8c3d6c 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -12,7 +12,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' - name: Get composer cache directory id: composer-cache @@ -41,7 +41,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' - name: Get composer cache directory id: composer-cache @@ -59,37 +59,3 @@ jobs: - name: Static Analysis run: composer static-analysis - - taint-analysis: - name: Taint Analysis - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.2' - - - name: Get composer cache directory - id: composer-cache - run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - - - name: Cache dependencies - uses: actions/cache@v4 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} - restore-keys: ${{ runner.os }}-composer- - - - name: Install dependencies - run: composer install --no-progress --no-interaction - - - name: Taint Analysis - run: composer taint-analysis - - - name: Upload Security Analysis results to GitHub - uses: github/codeql-action/upload-sarif@v3 - with: - sarif_file: results.sarif diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 62d28a6..1e49489 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -39,12 +39,12 @@ jobs: run: composer install --no-progress --no-interaction --ignore-platform-req=php - name: Test - if: matrix.php-versions != '8.2' + if: matrix.php-versions != '8.3' run: composer test continue-on-error: true - name: Test with Coverage - if: matrix.php-versions == '8.2' + if: matrix.php-versions == '8.3' working-directory: ./ run: | composer test-coverage @@ -52,7 +52,7 @@ jobs: sed -i 's/\/home\/runner\/work\/captcha\/captcha\//\/github\/workspace\//g' clover.xml - name: Scan code with SonarCloud - if: matrix.php-versions == '8.2' + if: matrix.php-versions == '8.3' uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -69,7 +69,7 @@ jobs: -Dsonar.php.coverage.reportPaths=clover.xml - name: Test with latest dependencies - if: matrix.php-versions == '8.2' + if: matrix.php-versions == '8.3' run: | composer update composer test