Closed amesgen closed 3 years ago
Wow, this will be really helpful. Thanks!
I can't really spend time on actual code or PRs until tomorrow night, but I'll definitely review this line by line.
JFYI you can see the CI run for this PR in my fork: https://github.com/amesgen/hs-pcre2/actions/runs/413246272
I just noticed that caching is missing, will add in a moment.
This is all great. The only reservation I have is that building benchmarks is at 7 minutes the significant majority of CI time. Personally I think the time saved would be a bigger benefit. I could be convinced otherwise though.
The only reservation I have is that building benchmarks is at 7 minutes the significant majority of CI time.
Yeah, caching should fix that for the most part. I could not get caching to work with stack on macOS (see here), so I just disabled benchmark building for stack entirely instead of using caching. ~See here for the now much faster CI run.~ Caches dont work across branches (see here for the exact conditions when caches are accessible), so see here instead with prepopulated caches.
Put differently:
Really appreciate the time you put into this and answering my questions, as well as your knowledge of cabal
- mine is lacking.
dependabot.yml
will create PRs to update the versions of the actions inci.yml
.actions/setup-haskell
will soon be deprecated, but the new haskell/actions/setup did not release a tagged version yet, so we depend on@main
for now.