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

Add "make format" and check formatting in CI #41

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

whatyouhide
Copy link
Contributor

@whatyouhide whatyouhide commented Oct 17, 2024

Part of https://github.com/dnsimple/dnsimple-ops/issues/4058.

This is gonna be the blueprint for all other PRs like this. Following current conventions I think the "smart" thing to do is:

  1. make format for formatting locally, in case contributor's editor isn't set up.
  2. make test now includes rebar3 fmt --check, before Dialyzer (faster failures). We could split up this step in CI but I think if we didn't do that with Dialyzer then we won't do that here, correct?

Open to feedback 💟

@whatyouhide whatyouhide self-assigned this Oct 17, 2024
@whatyouhide whatyouhide merged commit 917af7e into main Oct 21, 2024
6 checks passed
@whatyouhide whatyouhide deleted the al/formatter-in-ci branch October 21, 2024 10:53
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