Merge pull request #6744 from paulbalandan/ubuntu-runner

Raise runner version to ubuntu-22.04
This commit is contained in:
John Paul E. Balandan, CPA 2022-10-24 23:12:09 +08:00 committed by GitHub
commit 1fe58f029c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 13 additions and 13 deletions

View File

@ -15,7 +15,7 @@ jobs:
build:
name: Deploy to api
if: github.repository == 'codeigniter4/CodeIgniter4'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Setup credentials

View File

@ -21,7 +21,7 @@ concurrency:
jobs:
auto-review-tests:
name: Automatic Code Review
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout

View File

@ -19,7 +19,7 @@ concurrency:
jobs:
lint:
name: PHP ${{ matrix.php-version }} Lint with PHP CS Fixer
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false

View File

@ -31,7 +31,7 @@ concurrency:
jobs:
build:
name: Architectural Inspection
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3

View File

@ -30,7 +30,7 @@ concurrency:
jobs:
build:
name: Duplicate Code Detection
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3

View File

@ -34,7 +34,7 @@ concurrency:
jobs:
build:
name: PHP ${{ matrix.php-versions }} Static Analysis
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
steps:

View File

@ -37,7 +37,7 @@ env:
jobs:
tests:
name: PHP ${{ matrix.php-versions }} - ${{ matrix.db-platforms }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, '[ci skip]')"
strategy:
@ -144,7 +144,7 @@ jobs:
- name: Install latest ImageMagick
run: |
sudo apt-get update
sudo apt-get install --reinstall libgs9-common fonts-noto-mono libgs9:amd64 libijs-0.35:amd64 fonts-urw-base35 ghostscript poppler-data libjbig2dec0:amd64 gsfonts libopenjp2-7:amd64 fonts-droid-fallback ttf-dejavu-core
sudo apt-get install --reinstall libgs9-common fonts-noto-mono libgs9:amd64 libijs-0.35:amd64 fonts-urw-base35 ghostscript poppler-data libjbig2dec0:amd64 gsfonts libopenjp2-7:amd64 fonts-droid-fallback fonts-dejavu-core
sudo apt-get install -y imagemagick
sudo apt-get install --fix-broken
@ -199,7 +199,7 @@ jobs:
coveralls:
if: github.repository_owner == 'codeigniter4'
needs: tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout

View File

@ -36,7 +36,7 @@ concurrency:
jobs:
build:
name: PHP ${{ matrix.php-versions }} Analyze code (Rector) on ${{ matrix.paths }}
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:

View File

@ -26,7 +26,7 @@ concurrency:
jobs:
build:
name: Compilation of SCSS (Dart Sass)
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout

View File

@ -17,7 +17,7 @@ concurrency:
jobs:
syntax_check:
name: Check User Guide syntax
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout

View File

@ -60,7 +60,7 @@ return static function (RectorConfig $rectorConfig): void {
PHPUnitSetList::REMOVE_MOCKS,
]);
$rectorConfig->parallel();
$rectorConfig->disableParallel();
// paths to refactor; solid alternative to CLI arguments
$rectorConfig->paths([__DIR__ . '/app', __DIR__ . '/system', __DIR__ . '/tests', __DIR__ . '/utils']);