From fa63c1cf3b3f8b8f75ce4ef8482fbb888419241d Mon Sep 17 00:00:00 2001 From: Christian Flach Date: Tue, 11 Jun 2024 20:07:20 +0200 Subject: [PATCH] Add PHP 8.3 --- .github/workflows/main.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 13cdf2d..cf6f4df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,9 +30,12 @@ jobs: - php-versions: '8.2' phpunit-version: '9.5.27' experimental: false + - php-versions: '8.3' + phpunit-version: '9.5.27' + experimental: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -67,24 +70,25 @@ jobs: run: phpunit --coverage-text --coverage-clover=coverage.xml - name: Upload coverage data to codecov - if: matrix.php-versions == '8.1' - uses: codecov/codecov-action@v3 + if: matrix.php-versions == '8.2' + uses: codecov/codecov-action@v4 with: files: ./coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true build-docs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # fetch complete history so that the "last updated by" texts can be set correctly fetch-depth: 0 - - name: Use Node.js 18.x - uses: actions/setup-node@v1 + - name: Use Node.js 20.x + uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Build Docs run: | cd docs