-
Notifications
You must be signed in to change notification settings - Fork 7
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 #29: use "/" in filepaths even under Windows #30
base: master
Are you sure you want to change the base?
Conversation
Tested here: https://github.com/andreasabel/miniagda/actions/runs/3513071912/jobs/5885471883#step:4:3260
(The Maybe we should use
|
Ping @jaspervdj-luminal. |
@jaspervdj-luminal : What do you think about this change? |
Since I am not getting a reaction, I assume you do not mind this change, and will go ahead. I hope this is fine. |
1d8970c
to
f9cbed6
Compare
b60096a
to
cf62373
Compare
2e07e65
to
bdcfde6
Compare
@andreasabel Apologies! I will move this repo to |
I think using |
Ah, good to hear back from you! I have been stalled on this PR a bit since I got weird WSL errors on the GHA Windows runner. Locally, on my Windows machine, it worked correctly. I didn't know how to debug this... |
bdcfde6
to
5bc4dc8
Compare
`System.FilePath.normalise` replaces slashes by backslashes. We implement a simplified version of `normalise` that does the opposite. This should make (relative) file path printed in test output more portable across OSs.
The old release actions are deprecated.
actions/cache/save warns if we try to save to a cache key that already exists.
On Windows, ~/.stack is not the stack root directory.
5bc4dc8
to
348ca32
Compare
Fix #29: use / in filepaths even under Windows
System.FilePath.normalise
replaces slashes by backslashes.We implement a simplified version of
normalise
that does the opposite.This should make (relative) file path printed in test output more portable across OSs.
(The two commits are meaningful individually and have been tested locally.)