Skip to content
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

[GHA] Infra & build updates #1178

Merged
merged 1 commit into from
Dec 5, 2023
Merged

[GHA] Infra & build updates #1178

merged 1 commit into from
Dec 5, 2023

Conversation

chalasr
Copy link
Collaborator

@chalasr chalasr commented Dec 4, 2023

No description provided.

@chalasr chalasr force-pushed the ci-updates branch 2 times, most recently from fb660f2 to 1eabb00 Compare December 4, 2023 02:50
@chalasr chalasr merged commit d4434ba into lexik:2.x Dec 5, 2023
9 checks passed
@@ -63,7 +64,7 @@ jobs:
composer require --dev --no-update web-token/jwt-encryption-algorithm-aesgcmkw:"^3.0.6"

- name: "Install dependencies"
run: "composer update ${{ matrix.composer-flags }} --prefer-dist"
run: "composer update ${{ matrix.composer-flags }} --prefer-dist --prefer-stable"
Copy link
Contributor

Choose a reason for hiding this comment

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

I would recommend to use ramsey/composer-install for caching. It also removes the need of --prefer-dist --prefer-stable and then doing --prefer-lowest or not is defined by with-dependencies: highest|lowest

Copy link
Contributor

Choose a reason for hiding this comment

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

You might need to put SYMFONY_REQUIRE as an environment variable though, but you can do so like that:

            -   name: Configure the Symfony version
                run: echo "SYMFONY_REQUIRE=${{ matrix.symfony }}" >> $GITHUB_ENV

@chalasr chalasr deleted the ci-updates branch December 5, 2023 22:16
@chalasr chalasr mentioned this pull request Dec 6, 2023
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.

2 participants