From 9bc37bf3e69f35724d8bbc3c661264597c99b524 Mon Sep 17 00:00:00 2001 From: Norbert Jurek Date: Wed, 24 Jan 2024 10:06:50 +0100 Subject: [PATCH 1/2] [OP-1123] Bump GHAs actions/checkout@v2 -> v4, actions/cache@v3 -> v4 --- .github/workflows/ci.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index faa3fde..196abce 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,13 +1,18 @@ +# on: +# pull_request: +# push: +# branches: +# - main on: pull_request: push: branches: - - main + - OP-1123-GHA-bump-deprecated-gha jobs: static-analyze: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: '7.4' @@ -15,7 +20,7 @@ jobs: run: composer validate --strict - name: Cache Composer packages id: composer-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor key: composer-${{ hashFiles('composer.lock') }} @@ -26,7 +31,7 @@ jobs: tests: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: '7.4' @@ -34,7 +39,7 @@ jobs: run: composer validate --strict - name: Cache Composer packages id: composer-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor key: composer-${{ hashFiles('composer.lock') }} From d0a53b53c056ed9cfa40e478c0feac9f471dc0e6 Mon Sep 17 00:00:00 2001 From: Norbert Jurek Date: Wed, 24 Jan 2024 10:08:41 +0100 Subject: [PATCH 2/2] [OP-1123] Restore commented code to test bumped github actions --- .github/workflows/ci.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 196abce..2637f65 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,13 +1,8 @@ -# on: -# pull_request: -# push: -# branches: -# - main on: pull_request: push: branches: - - OP-1123-GHA-bump-deprecated-gha + - main jobs: static-analyze: runs-on: ubuntu-20.04