From c7a5eee96e80021dac7a8d29d4e37d58411d999b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Poirier=20Th=C3=A9or=C3=AAt?= Date: Fri, 10 May 2024 10:43:21 -0400 Subject: [PATCH] [internal] fix github action checkout and cache version --- .github/workflows/actionlint.yml | 2 +- .github/workflows/after_splitting_test.yaml | 2 +- .github/workflows/build.yml | 4 ++-- .github/workflows/phpcs.yml | 2 +- .github/workflows/phpstan.yml | 2 +- .github/workflows/yamllint.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 3ad1fbc5d..30ea23ac2 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Actionlint uses: reviewdog/action-actionlint@v1 diff --git a/.github/workflows/after_splitting_test.yaml b/.github/workflows/after_splitting_test.yaml index e39bb7e7b..b1de36981 100644 --- a/.github/workflows/after_splitting_test.yaml +++ b/.github/workflows/after_splitting_test.yaml @@ -44,7 +44,7 @@ jobs: steps: - name: Checkout - uses: 'actions/checkout@v2' + uses: 'actions/checkout@v4' - name: PHP Setup uses: 'shivammathur/setup-php@v2' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee60f8d86..c0306eade 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: php-versions: ['8.1', '8.2', '8.3'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -61,7 +61,7 @@ jobs: id: composer-cache run: echo "dir=$(composer config cache-files-dir)" >> "${GITHUB_OUTPUT}" - name: Composer Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-v3-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 7c4413ae7..223b2ad93 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index c20ae7797..875d2e11b 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml index de8631b98..027d2f8ed 100644 --- a/.github/workflows/yamllint.yml +++ b/.github/workflows/yamllint.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Yamllint uses: reviewdog/action-yamllint@v1