-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* git-ignore stack.yaml.lock files 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. * Rename stack-lts files to only specify major 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. * 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 - `haskell-tag-action` doesn't need an explicit token - `stack-upload-action` is deprecated, just use `stack upload` * Add typically-disabled 9.8 warnings * Add lts20-like extra-deps to lts21 * Update extra-deps in lts21 * Remove unnecessary pragma Newer hspec-discover seems to include an export list. * Move from library,tests to src,test 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
- Loading branch information
Showing
28 changed files
with
54 additions
and
452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Restyled | ||
|
||
on: | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
restyled: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: restyled-io/actions/setup@v4 | ||
- uses: restyled-io/actions/run@v4 | ||
with: | ||
suggestions: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.stack-work | ||
*.hie | ||
.hiedb | ||
.stack-work | ||
stack*.yaml.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[versions] | ||
oldest = lts-12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.