From d7648362447cba9ce32ebbc0d243d9723a002a10 Mon Sep 17 00:00:00 2001 From: Zephyr Lykos Date: Fri, 12 Jan 2024 20:31:37 +0800 Subject: [PATCH] ci: update deps --- .github/workflows/CI.yml | 24 ++++++++++++------------ .github/workflows/Release.yml | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c4930f482..f43c3e7cb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,11 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.3 coverage: none extensions: mbstring, dom, fileinfo, gd - name: Install dependencies @@ -45,20 +45,20 @@ jobs: strategy: fail-fast: false matrix: - php: ['8.1', '8.2'] + php: ['8.2', '8.3'] steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP only uses: shivammathur/setup-php@v2 - if: matrix.php != '8.0' + if: matrix.php != '8.3' with: php-version: ${{ matrix.php }} coverage: none extensions: mbstring, dom, fileinfo, sqlite, gd, zip - name: Setup PHP with Xdebug uses: shivammathur/setup-php@v2 - if: matrix.php == '8.0' + if: matrix.php == '8.3' with: php-version: ${{ matrix.php }} coverage: xdebug @@ -72,14 +72,14 @@ jobs: - name: Install Composer dependencies run: composer install --no-progress --prefer-dist --optimize-autoloader - name: Run tests only - if: matrix.php != '8.0' + if: matrix.php != '8.3' run: ./vendor/bin/phpunit - name: Run tests with coverage report - if: matrix.php == '8.0' + if: matrix.php == '8.3' run: ./vendor/bin/phpunit --coverage-clover=coverage.xml - name: Upload coverage report uses: codecov/codecov-action@v1 - if: matrix.php == '8.0' && success() + if: matrix.php == '8.3' && success() with: token: ${{ secrets.CODECOV_TOKEN }} name: github-actions @@ -88,7 +88,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: yarn install --frozen-lockfile - name: Run checks @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install dependencies run: yarn - name: Run tests @@ -116,7 +116,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache Node dependencies uses: actions/cache@v3 with: diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 0d3f8c97a..58939be43 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build and create archive run: ./tools/release.ps1 shell: pwsh