Skip to content

Commit

Permalink
[CI] Update actions/checkout to version 4
Browse files Browse the repository at this point in the history
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
  • Loading branch information
brotkrueml committed Sep 16, 2023
1 parent 19338ab commit faa782a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
lint:
name: Linting
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
matrix:
php:
Expand All @@ -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
Expand All @@ -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

0 comments on commit faa782a

Please sign in to comment.