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

Many updates #18

Merged
merged 17 commits into from
Jan 10, 2025
Merged

Many updates #18

merged 17 commits into from
Jan 10, 2025

Conversation

pbrisbin
Copy link
Member

  • git-ignore stack.yaml.lock files
  • Rename stack-lts files to only specify major
  • Use new haskell-actions organization
  • Configure actions-based Restyled
  • Add .stack-all configuration
  • Add stack configurations for lts 21 through 23
  • Make stack.yaml a symlink to stack-lts23.yaml
  • Update release workflow

These lock files help with reproducibility and can alert developers if
the exact code behind a given resolver or extra-dep has changed since
the last build. However, certain tooling does or does not keep them
updated and this fact has led to confusion that is not worth this
benefit, particularly in projects with a lot of separate resolver files.
Therefore, we're going to start phasing out keeping them committed.
That's all that matters, and we don't want filenames (and test matrix
names) to change if minor versions fluctuate.

As part of this we move, to a hyphen-less suffix since that's what some
tooling (stack-all) expects, and it doesn't negatively affect anything
else.
- `haskell-tag-action` doesn't need an explicit token
- `stack-upload-action` is deprecated, just use `stack upload`
Newer hspec-discover seems to include an export list.
Anecdotally, `app,src,test` is more common that
`executables,library,tests`. It's also what `stack new` creates (`cabal
init` creates no directories). No one on the team expressed a strong
objection[^1], so we'll start a soft migration (i.e. use it in new
stuff, change at our leisure).

[^1]: https://freckleinc.slack.com/archives/C459XJBGR/p1702402421106759
@pbrisbin pbrisbin changed the title pb/update Many updates Jan 10, 2025
@pbrisbin pbrisbin requested a review from chris-martin January 10, 2025 14:21
@pbrisbin pbrisbin marked this pull request as ready for review January 10, 2025 14:21
@pbrisbin pbrisbin requested review from a team and removed request for a team January 10, 2025 14:21
@pbrisbin pbrisbin merged commit 6d9ea59 into main Jan 10, 2025
14 checks passed
@pbrisbin pbrisbin deleted the pb/update branch January 10, 2025 18:59
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