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

Workflows / CI: fixed & refactored #935

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Workflows / CI: fixed & refactored #935

merged 1 commit into from
Oct 3, 2024

Conversation

Alexander-Senko
Copy link
Collaborator

Fixed

Changed

  • Moved Rails versions to CI matrix.
  • Both edge and outdated Ruby / Rails versions may fail.
  • Use the latest RubyGems.

@Alexander-Senko Alexander-Senko marked this pull request as ready for review September 25, 2024 16:00
Copy link
Collaborator Author

@Alexander-Senko Alexander-Senko left a comment

Choose a reason for hiding this comment

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

This combines two things actually:

  1. A much needed fix for every PR to pass tests.
  2. Refactoring for easier maintenance of the version matrix.

.github/workflows/ci.yml Show resolved Hide resolved
Comment on lines 64 to 66
- name: >-
Test outcome: ${{ steps.test.outcome }}
run: echo NOOP # every step must define a `uses` or `run` key
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To see the actual result of tests without looking through logs.

Comment on lines +12 to +16
name: >-
rspec (${{ matrix.ruby }})
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't like the name, but we need it to match with the required workflows.

Does anyone have an access to change them? Otherwise, we have to support outdated ones for ages 😕

y-yagi
y-yagi previously approved these changes Sep 27, 2024
Copy link
Collaborator

@y-yagi y-yagi left a comment

Choose a reason for hiding this comment

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

I left some comments, but as is OK. LGTM!

.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
@Alexander-Senko
Copy link
Collaborator Author

LGTM!

I'm sorry, but another approval is needed due to suggested modifications made.

## Fixed

* Ruby 2.6 (see hotwired/turbo-rails/#681).

## Changed

* Moved Rails versions to CI `matrix`.
* Both edge and outdated Ruby / Rails versions may fail.
* Use the latest RubyGems.
@Alexander-Senko Alexander-Senko merged commit 5fe90c6 into master Oct 3, 2024
9 checks passed
@Alexander-Senko Alexander-Senko deleted the fix/ci branch October 3, 2024 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants