-
Notifications
You must be signed in to change notification settings - Fork 51
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
Generate test matrix from tested-with GHCs #308
Conversation
@robrix yo! may I ask for a review? |
@BekaValentine hi! How can we get this PR moving forward? |
- name: Extract the tested GHC versions | ||
id: set-matrix | ||
run: | | ||
wget https://github.com/Kleidukos/get-tested/releases/download/v0.1.5.0/get-tested-0.1.5.0-linux-amd64 -O get-tested | ||
chmod +x get-tested | ||
./get-tested --ubuntu tree-sitter/tree-sitter.cabal >> $GITHUB_OUTPUT |
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.
Hey this is cool
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.
Actually in the meantime it gained a GitHub Action. I'll send a follow-up PR. :)
-Wno-star-is-type | ||
-Wno-missing-deriving-strategies | ||
-Wno-missing-safe-haskell-mode | ||
-Wno-prepositive-qualified-module |
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.
Good call dropping the conditionals.
This PR updates the CI setup a bit:
The
tested-with
stanza of the cabal file is updated to reflect a canonical list of GHC versions that are being actively tested.This list is used to generate a CI matrix.
Supported
base
version is set to 4.14 / GHC 8.10.7, which makes some conditionals likeif (impl(ghc >= 8.6))
redundant.A dependabot config has been setup to offer PR to update the github actions used.