From 9e9d6dda705466640b99893dd2c1070208149cb5 Mon Sep 17 00:00:00 2001 From: Fran Moreno Date: Sun, 29 Oct 2023 18:49:16 +0100 Subject: [PATCH] Bump workflows --- .github/workflows/coding-standards.yml | 2 +- .github/workflows/continuous-integration.yml | 6 +++--- .github/workflows/performance.yml | 4 ++-- .../workflows/release-on-milestone-closed.yml | 2 +- .github/workflows/static-analysis.yml | 20 ++++--------------- 5 files changed, 11 insertions(+), 23 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index b30e251b38..38ec76e256 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -10,6 +10,6 @@ on: jobs: coding-standards: name: "Coding Standards" - uses: "doctrine/.github/.github/workflows/coding-standards.yml@3.0.0" + uses: "doctrine/.github/.github/workflows/coding-standards.yml@3.1.0" with: php-version: "8.2" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index a7d1ced3d0..cd47ee9069 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -46,7 +46,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" with: fetch-depth: 2 @@ -59,7 +59,7 @@ jobs: key: "extcache-v1" - name: Cache extensions - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.extcache.outputs.dir }} key: ${{ steps.extcache.outputs.key }} @@ -88,7 +88,7 @@ jobs: composer-options: "--prefer-dist" - name: "Upload composer.lock as build artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: composer.lock path: composer.lock diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index f89edd2940..a535e7eeff 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -24,7 +24,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: Setup cache environment id: extcache @@ -35,7 +35,7 @@ jobs: key: "extcache-v1" - name: Cache extensions - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.extcache.outputs.dir }} key: ${{ steps.extcache.outputs.key }} diff --git a/.github/workflows/release-on-milestone-closed.yml b/.github/workflows/release-on-milestone-closed.yml index e7e127f4ab..cc6ac55fee 100644 --- a/.github/workflows/release-on-milestone-closed.yml +++ b/.github/workflows/release-on-milestone-closed.yml @@ -8,7 +8,7 @@ on: jobs: release: name: "Git tag, release & create merge-up PR" - uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@1.4.1" + uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@3.1.0" secrets: GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index a1bac2c2f7..cff78915c4 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -15,11 +15,11 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.2" steps: - name: "Checkout code" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: Setup cache environment id: extcache @@ -30,7 +30,7 @@ jobs: key: "extcache-v1" - name: Cache extensions - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.extcache.outputs.dir }} key: ${{ steps.extcache.outputs.key }} @@ -49,12 +49,6 @@ jobs: - name: "Install dependencies with Composer" uses: "ramsey/composer-install@v2" - - name: "Upload composer.lock as build artifact" - uses: actions/upload-artifact@v2 - with: - name: composer.lock - path: composer.lock - - name: "Run a static analysis with phpstan/phpstan" run: "vendor/bin/phpstan analyse --error-format=github" @@ -65,7 +59,7 @@ jobs: strategy: matrix: php-version: - - "8.1" + - "8.2" steps: - name: "Checkout code" @@ -81,11 +75,5 @@ jobs: - name: "Install dependencies with Composer" uses: "ramsey/composer-install@v2" - - name: "Upload composer.lock as build artifact" - uses: actions/upload-artifact@v2 - with: - name: composer.lock - path: composer.lock - - name: "Run a static analysis with vimeo/psalm" run: "vendor/bin/psalm --show-info=false --stats --output-format=github --threads=$(nproc) --php-version=${{ matrix.php-version }}"