-
Notifications
You must be signed in to change notification settings - Fork 74
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 linting issues in GitHub Actions #461
Conversation
Hi 👋
I think
I'm not interested in this change at this point.
This looks good. Can you rebase on |
bba08c5
to
9538b9b
Compare
Thanks for the review. Assuming I'm understanding correctly, I've:
Does it look good? If it does, I would to rename the PR to something like: Apply lint to GHA (I'm not doing that by myself to avoid confusion) |
.github/workflows/build.yml
Outdated
@@ -46,9 +46,6 @@ jobs: | |||
- 8.10.5 | |||
- 8.10.6 | |||
- 8.10.7 | |||
# - 9.0.1 | |||
# - 9.0.2 | |||
# - 9.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This documents which versions have CI issues. For that reason I would like to keep these.
.github/workflows/build.yml
Outdated
@@ -64,7 +61,6 @@ jobs: | |||
- 9.4.6 | |||
- 9.4.7 | |||
- 9.4.8 | |||
# - 9.6.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
.github/workflows/build.yml
Outdated
@@ -78,7 +74,6 @@ jobs: | |||
- os: macos-latest | |||
ghc: 9.10.1 | |||
- os: windows-latest | |||
# ghc: system |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
@@ -88,7 +83,7 @@ jobs: | |||
|
|||
- run: cabal update | |||
- run: cabal build | |||
- run: cabal exec $(cabal list-bin spec) | |||
- run: cabal exec "$(cabal list-bin spec)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -101,6 +96,6 @@ jobs: | |||
- run: false | |||
if: needs.build.result != 'success' | |||
|
|||
- uses: actions/checkout@v3 | |||
- uses: actions/checkout@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Yes exactly 👍
Yes, please go ahead. But instead of using an acronym, please spell it out, also in the commit message. |
The lints were generated using actionlint
Thanks a lot for your contribution. |
Hi :)
I'm testing the library with GHC912 and the
haskell-actions
one is already supporting that. In this PR I did some updates to the GHA build job, in particular:I've substituted the hspec setup action with the haskell-actions one. Note:
cabal update
is done by default by the used action.Replaced
macOS-12
environment which is deprecated.I've also run actionlint and addressed those issues. Here is the output of that tool:
I've prepared this during this event