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

Fix CI formatting check #514

Merged
merged 1 commit into from
Jan 29, 2021
Merged

Fix CI formatting check #514

merged 1 commit into from
Jan 29, 2021

Conversation

shonfeder
Copy link
Contributor

@shonfeder shonfeder commented Jan 29, 2021

We "ratchet" our formatting checks, which means we only check files that
have changed relative to origin/unstable. This makes sure we have
fetched the latest changes before running those checks, so we're getting
an accurate report.

Apparently the checkout action doesn't fetch our remote branches, but we need
unstable for our ratcheted format checking.

This is causing the formatting check to fail on on #503 and #467

Copy link
Collaborator

@konnov konnov left a comment

Choose a reason for hiding this comment

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

LGTM

We "ratchet" our formatting checks, which means we only check files that
have changed relative to origin/unstable. This makes sure we have
fetched the latest changes before running those checks, so we're getting
an accurate report.
@shonfeder shonfeder merged commit 621dd14 into unstable Jan 29, 2021
@shonfeder shonfeder deleted the shon/fix-scalafmt-on-ci branch January 29, 2021 11:56
@shonfeder
Copy link
Contributor Author

This only affects the formatting check, so I only waited for that to pass in CI.

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