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

enable the 'Run workflow' button #276

Merged
merged 4 commits into from
Feb 9, 2024
Merged

enable the 'Run workflow' button #276

merged 4 commits into from
Feb 9, 2024

Conversation

gelisam
Copy link
Owner

@gelisam gelisam commented Feb 9, 2024

CI was scheduled to run automatically every month, so that if a new version of GHC or of one of hawk's dependencies gets released and causes hawk to no longer compile, I get notified and can quickly add an upper bound.

But GitHub automatically disables my monthly CI runs after a couple of months, so the inevitable happened: hawk no longer compiles with the latest version of everything (#275).

Let's enable the Run workflow button so that I can at least manually run CI, even if I can't run it automatically every month.

hawk probably works with all the ghc versions in-between, but we only
run CI for the oldest and newest supported versions, so those are the
tested-with versions.
@gelisam
Copy link
Owner Author

gelisam commented Feb 9, 2024

Turns out the CI script itself bit-rotted:

  1. haskell/actions/setup has been deprecated for a long time, hawk was very overdue to switch to haskell-actions/setup.
  2. the CI task called "newest" is specifically testing that hawk still works with the latest version of everything, but we know that it doesn't, so I have tweaked it to temporarily test that hawk still works with ghc-8.10.4, the version in stack.yaml. I assume that hawks works with more recent versions of ghc than that, but I first want to fix CI, I will try to find which version of ghc breaks hawk in a separate PR.

@gelisam gelisam merged commit 16a16f7 into main Feb 9, 2024
3 checks passed
@gelisam gelisam deleted the gelisam/run-workflow branch February 9, 2024 04:29
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.

1 participant