-
Notifications
You must be signed in to change notification settings - Fork 1
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
Updates #91
Merged
Merged
Updates #91
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
411ea33
Remove stack-ghc-8.10.yaml
brandonchinn178 8814729
Check files unmodified in ghc_compat_test
brandonchinn178 65d8f68
Bump stack snapshot
brandonchinn178 c6f633f
Update package.yaml
brandonchinn178 f47e25f
Don't check hlint
brandonchinn178 96192c0
Add integration golden for GHC 9.6
brandonchinn178 d2631ad
Drop support for GHC 8.10
brandonchinn178 871224b
Test lower bounds with --prefer-oldest
brandonchinn178 4c91b5f
Remove -Werror from local config
brandonchinn178 5058538
Move GHC version-specific golden files
brandonchinn178 4e328d7
Remove run-integration-tests flag
brandonchinn178 dad0b90
Rewrite compilation tests with hint
brandonchinn178 d748307
Fix benchmarks for -Wtype-equality-requires-operators
brandonchinn178 5657a8b
Break out ghc_compat_test into separate workflow
brandonchinn178 874b515
Test against GHC nightly
brandonchinn178 0270004
Fix for GHC nightly
brandonchinn178 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
ghc_version: | ||
required: true | ||
type: string | ||
oldest: | ||
required: false | ||
type: boolean | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- | ||
uses: actions/checkout@v3 | ||
- | ||
id: setup | ||
name: Set up GHC ${{ inputs.ghc_version }} | ||
uses: brandonchinn178/haskell-actions-setup@ghcup-nightly | ||
with: | ||
ghc-version: ${{ inputs.ghc_version }} | ||
- | ||
name: Configure the build | ||
run: | ||
cabal configure | ||
--ghc-options='-Werror -Wno-unused-packages' | ||
--enable-test | ||
--test-options=--color=always | ||
--test-show-details=streaming | ||
- | ||
if: ${{ inputs.oldest }} | ||
name: Use oldest dependencies | ||
run: | ||
cabal configure --enable-append | ||
--prefer-oldest | ||
--constraint 'aeson-qq >= 0.7.4' | ||
- | ||
if: ${{ inputs.ghc_version == 'latest-nightly' }} | ||
name: Add head.hackage | ||
run: | | ||
curl -fsSL -o /tmp/head.hackage.sh https://gitlab.haskell.org/ghc/head.hackage/-/raw/master/scripts/head.hackage.sh | ||
bash /tmp/head.hackage.sh dump-repo >> cabal.project.local | ||
cabal update | ||
- | ||
name: Get build plan | ||
run: cabal build --dry-run | ||
- | ||
name: Get current month to clear cache | ||
run: echo "CURR_MONTH=$(date +%B)" | tee -a "$GITHUB_ENV" | ||
- | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.setup.outputs.cabal-store }} | ||
key: ${{ runner.os }}-cabal-cache-${{ env.CURR_MONTH }}-${{ inputs.ghc_version }}-${{ hashFiles('**/plan.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-cabal-cache-${{ env.CURR_MONTH }}-${{ inputs.ghc_version }}- | ||
- | ||
name: Build + Test | ||
run: cabal build && cabal exec -- cabal test | ||
- | ||
name: Check that files are unmodified | ||
run: git add -A && git diff --staged --exit-code |
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,14 @@ | ||
name: Test against GHC nightly release | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: '0 0 * * *' # nightly | ||
|
||
jobs: | ||
test_ghc_nightly: | ||
uses: ./.github/workflows/ghc-compat-test.yml | ||
with: | ||
ghc_version: latest-nightly | ||
This file was deleted.
Oops, something went wrong.
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,5 +1,7 @@ | ||
# Unreleased | ||
|
||
* Drop support for GHC 8.10 | ||
|
||
# v1.4.1.0 | ||
|
||
* Add support for GHC 9.6 | ||
|
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Blocked on haskell-actions/setup#19