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

Remove the format step from github ci workflow #156

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Conversation

emnoor-reef
Copy link
Contributor

@emnoor-reef emnoor-reef commented Feb 23, 2024

The lint step already checks for formatting errors. By running the format step before lint step, the source is being properly formatted. So the lint step is unable to find the formatting problems (just formatted in the previous step).

I was confused, when locally nox -s lint failed with formatting errors, but github actions didn't!
Fun fact: this repo's workflow file has it correct. But the template workflow file does not.

The lint step already checks for formatting errors. By running the
format step before lint step, the source is being properly formatted. So
the lint step is unable to find the formatting problems (just formatted
in the previous step).
@emnoor-reef emnoor-reef merged commit 02372f3 into master Feb 26, 2024
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the remove-format branch February 26, 2024 04:46
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