Skip to content

Commit

Permalink
Update GHA workflows to use current Ubuntu and tools versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed Jan 18, 2024
1 parent d91e8b5 commit 5316cb6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
pull_request:

env:
PHP_VERSION: 7.4
PHP_VERSION: 8.2

jobs:
composer-require-checker:
name: Check missing composer requirements
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Configure PHP version
uses: shivammathur/setup-php@v2
Expand All @@ -32,4 +32,4 @@ jobs:
composer update --no-interaction --no-scripts --no-progress
composer show
- name: ComposerRequireChecker
uses: docker://webfactory/composer-require-checker:3.2.0
uses: docker://ghcr.io/webfactory/composer-require-checker:4.8.0
4 changes: 2 additions & 2 deletions .github/workflows/fix-cs-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: Coding Standards
jobs:
open-pr-for-cs-violations:
name: PHP-CS-Fixer
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.actor != 'dependabot[bot]'
steps:
- name: Checkout code
Expand All @@ -18,7 +18,7 @@ jobs:
ref: ${{ github.head_ref }}

- name: Run PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga:3.11.0
uses: docker://oskarstark/php-cs-fixer-ga:3.26.0

- name: Commit and push back changes
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-version-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
compat-check:
name: Check dependency compatibility
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Build .phar on release

jobs:
build_phar:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Configure PHP version
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
PHPUnit:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 5316cb6

Please sign in to comment.