This repository has been archived by the owner on Dec 2, 2023. It is now read-only.
-
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.
- Loading branch information
1 parent
405b6b6
commit 281d48d
Showing
4 changed files
with
13 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,34 +6,26 @@ on: | |
|
||
jobs: | ||
Build: | ||
name: Build (GHC ${{ matrix.ghc-version }}) | ||
name: Build (LTS ${{ matrix.lts-version }}) | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ghc-version: [ | ||
9.6.2, | ||
9.6.1, | ||
9.4.5, | ||
9.4.4, | ||
9.4.3, | ||
9.4.2, | ||
9.4.1, | ||
9.2.7, | ||
9.2.6, | ||
9.2.5, | ||
9.2.4, | ||
9.2.3, | ||
9.2.2, | ||
9.2.1 | ||
lts-version: [ | ||
20.26, | ||
20.24, | ||
20.23, | ||
20.21, | ||
20.12, | ||
20.11 | ||
] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/install-stack | ||
- uses: ./.github/actions/cache | ||
- name: Compile Project | ||
run: stack --compiler ghc-${{ matrix.ghc-version }} build | ||
run: stack --resolver lts-${{ matrix.lts-version }} build | ||
# This is to check if the project has been compiled with the correct version of ghc-lib. | ||
# For example, if there is a mismatch, we would get something like "Unknown Constructor: Char" | ||
- name: Check Basic Suggestion | ||
run: stack run test/assets/invalid/expect-char.hs | ||
run: stack --resolver lts-${{ matrix.lts-version }} run test/assets/invalid/expect-char.hs |
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'Build (GHC 9.2.6)' | ||
check-name: 'Build (LTS 20.21)' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 30 | ||
- uses: actions/[email protected] | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'Build (GHC 9.2.6)' | ||
check-name: 'Build (LTS 20.21)' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 30 | ||
- uses: actions/[email protected] | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
check-name: 'Build (GHC 9.2.6)' | ||
check-name: 'Build (LTS 20.21)' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 30 | ||
- uses: actions/[email protected] | ||
|