Skip to content

Re-order CI steps #362

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 2 commits into from
May 2, 2024
Merged

Re-order CI steps #362

merged 2 commits into from
May 2, 2024

Conversation

andyw8
Copy link
Contributor

@andyw8 andyw8 commented May 2, 2024

The tests are the most likely thing to fail, so let's run those first, so we get earlier feedback.

@andyw8 andyw8 requested a review from a team as a code owner May 2, 2024 15:25
@andyw8 andyw8 requested review from st0012 and vinistock May 2, 2024 15:25
@@ -52,8 +52,5 @@ jobs:
- name: Lint Ruby files
run: bin/rubocop

- name: Lint Ruby files
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Was duplicated!

@andyw8 andyw8 added the chore Chore task label May 2, 2024
Copy link
Member

@vinistock vinistock left a comment

Choose a reason for hiding this comment

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

Let's remove the duplication, but I disagree with the ordering change. We should always run the fastest checks first.

Maybe we can instead do what we did in the Ruby LSP and move linting, type checking and docs to a separate job that doesn't run on every Ruby version?

@andyw8 andyw8 force-pushed the andyw8/re-order-ci-steps branch from 437527a to be9b79c Compare May 2, 2024 18:33
@andyw8
Copy link
Contributor Author

andyw8 commented May 2, 2024

Split into two jobs (ignore the Windows failures, see #365)

Once this is merged we probably need to add lint to the required CI statuses in the main branch settings on GitHub.

@andyw8 andyw8 enabled auto-merge (squash) May 2, 2024 19:39
@andyw8 andyw8 disabled auto-merge May 2, 2024 19:39
@andyw8 andyw8 merged commit 4ac3e46 into main May 2, 2024
@andyw8 andyw8 deleted the andyw8/re-order-ci-steps branch May 2, 2024 19:39
@andyw8
Copy link
Contributor Author

andyw8 commented May 2, 2024

Once this is merged we probably need to add lint to the required CI statuses in the main branch settings on GitHub.

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants