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 how changed files are selected in stylish-haskell CI check #4853

Merged
merged 1 commit into from
Jan 28, 2023

Conversation

newhoggy
Copy link
Contributor

The stylish-haskell CI had git diff --name-only HEAD origin/master, which is wrong because that means added files are not check, but removed files are, which causes stylish-haskell to fail because removed files can't be found. The order needed to be swapped around to git diff --name-only origin/master HEAD

@newhoggy newhoggy marked this pull request as ready for review January 27, 2023 08:37
@newhoggy newhoggy requested review from Jimbo4350 and a team as code owners January 27, 2023 08:37
Copy link
Contributor

@jbgi jbgi left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

Nice catch!

@newhoggy newhoggy force-pushed the newhoggy/fix-stylish-haskell-ci-file-selection branch from 15f0609 to 77ecf13 Compare January 27, 2023 19:41
@newhoggy
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jan 28, 2023

Build succeeded:

@iohk-bors iohk-bors bot merged commit 26ad4b5 into master Jan 28, 2023
@iohk-bors iohk-bors bot deleted the newhoggy/fix-stylish-haskell-ci-file-selection branch January 28, 2023 07:37
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