From 83a2c971eae8e440f9b3d7568ea7875b6142a149 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Sep 2023 14:23:37 +0200 Subject: [PATCH] [CI] Update actions/checkout to version 4 (#213) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This also avoid the following deprecation on publish: "The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2." Additionally, use ubuntu-latest instead of a dedicated version to avoid outdated Ubuntu versions which are not supported anymore by GitHub in the future. Releases: main, 12.4 Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com> --- .github/workflows/publish.yml | 4 ++-- .github/workflows/tests.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 012e4e2..f85f022 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,10 +8,10 @@ on: jobs: publish: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Publish new version to TER uses: tomasnorre/typo3-upload-ter@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2d5f618..02bca6f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ on: jobs: lint: name: Linting - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: matrix: php: @@ -16,20 +16,20 @@ jobs: - '8.3' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Lint PHP run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint code-quality: name: Code Quality - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest env: php: '8.1' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install testing system run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerUpdate @@ -48,10 +48,10 @@ jobs: xliff-lint: name: "XLIFF linter" - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: "Checkout" - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "XLIFF lint" uses: TYPO3-Continuous-Integration/TYPO3-CI-Xliff-Lint@v1