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

Tests for working-directory support #30

Closed
wants to merge 3 commits into from
Closed

Conversation

cdepillabout
Copy link
Collaborator

This PR is just to test the PR for adding support for setting the working-directory: #29

jkeuhlen and others added 2 commits October 25, 2024 13:58
This adds a new top-level directory: `test-code-2/`.

This directory contains a `Main.hs` Haskell file with poor formatting.
If we were to naively run `run-fourmolu` on this Haskell file, then the
Action would detect that some changes need to be made to the file, and
fail.

However, this commit also adds the `working-directory` option with a
value of `test-code/`, so the `run-fourmolu` action won't see the
`test-code-2/Main.hs` file.

We expect that the `run-fourmolu` action succeeds in this case.
@cdepillabout
Copy link
Collaborator Author

I'll close this, since this was just tests for #29, which has now been merged.

@cdepillabout cdepillabout deleted the working-dir-tests branch October 25, 2024 05:31
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