Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CI
all
job checksneeds
job failuresBy making only the
all
test a required status check for merging tomain
on GitHub, we can just use theneeds
of that test to determine which CI jobs are required.Update GitHub actions
Better caching
The documentation for the
haskell/actions/setup
action demonstrated a nice improvement to caching, where a cache is created even if the project itself fails to build. It also demonstrated cache invalidation based on hashes of all the dependencies, which improves caching efficiency.Pass
--pedantic
tostack build
and don't invokecabal v2-update
unnecesarily (it's already done by the setup action)Simplify Stack version bumps
The
.ci
directory containsstack.yaml
files for each GHC version we test with Stack on CI. These files used to be named after the full GHC version, which is annoying if you want to bump to a later minor version. The files are now named only after the major GHC version so the file doesn't change name on such a bump.Minor improvements