Skip to content

fix: use ubuntu 22 for php 8.1 #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

akerekes
Copy link
Contributor

@akerekes akerekes commented Jul 9, 2025

No description provided.

@akerekes akerekes changed the title use ubuntu 22 for php 8.1 fix: use ubuntu 22 for php 8.1 Jul 9, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the GitHub Actions conformance workflow to run PHP 8.1 on Ubuntu 22.04 and adjusts the PHP version matrix accordingly.

  • Parameterize the runner OS using matrix.os instead of a hardcoded value.
  • Remove PHP 8.1 from the default matrix and re-add it explicitly on Ubuntu 22.04.
  • Extend the PHP version matrix to include PHP 8.4.
Comments suppressed due to low confidence (3)

.github/workflows/conformance.yml:18

  • [nitpick] For consistency and readability, add spaces after commas in the version array: [ '8.2', '8.3', '8.4' ].
        php-version: [ '8.2','8.3', '8.4' ]

.github/workflows/conformance.yml:17

  • Consider defining both OSes in matrix.os (['ubuntu-latest', 'ubuntu-22.04']) and using exclude for the unsupported PHP-OS combination to simplify the matrix.
        os: [ 'ubuntu-latest' ]

.github/workflows/conformance.yml:20

  • Add a brief comment explaining why PHP 8.1 requires ubuntu-22.04, so future maintainers understand this special case.
          - os: 'ubuntu-22.04'

strategy:
matrix:
php-version: [ '8.1','8.2','8.3' ]
os: [ 'ubuntu-latest' ]
php-version: [ '8.2','8.3', '8.4' ]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this line of change do?

@akerekes akerekes merged commit 123555f into GoogleCloudPlatform:main Jul 9, 2025
14 checks passed
@akerekes akerekes deleted the fixtests branch July 9, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants