Skip to content

Commit

Permalink
use 9.8.2 try to avoid windows filepath os-string ambiguity
Browse files Browse the repository at this point in the history
  • Loading branch information
shayne-fletcher committed Jul 28, 2024
1 parent 80e7ee9 commit a45d233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/hlint-from-scratch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: 9.10.1
ghc-version: 9.8.2
cabal-version: 'latest'
- name: Install build tools (macOS)
run: brew install automake
Expand All @@ -37,12 +37,12 @@ jobs:
GHCLIB_AZURE=1; export GHCLIB_AZURE
pacman -S autoconf automake-wrapper make patch python tar mintty --noconfirm
./hlint-from-scratch.sh --init="$HOME/project"
./hlint-from-scratch.sh --ghc-flavor="" --stack-yaml=stack-exact.yaml --resolver=ghc-9.10.1 --no-checkout
./hlint-from-scratch.sh --ghc-flavor="" --stack-yaml=stack-exact.yaml --resolver=ghc-9.8.2 --no-checkout
if: matrix.os == 'windows'
- name: Run hlint-from-scratch (unix)
shell: bash
run: |-
GHCLIB_AZURE=1; export GHCLIB_AZURE
./hlint-from-scratch.sh --init="$HOME/project"
./hlint-from-scratch.sh --ghc-flavor="" --stack-yaml=stack-exact.yaml --resolver=ghc-9.10.1 --no-checkout
./hlint-from-scratch.sh --ghc-flavor="" --stack-yaml=stack-exact.yaml --resolver=ghc-9.8.2 --no-checkout
if: matrix.os == 'ubuntu' || matrix.os == 'macos'
2 changes: 1 addition & 1 deletion hlint-from-scratch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ fi

# ghc-lib

cmd="cabal run exe:ghc-lib-build-tool -- --ghc-flavor "
cmd='cabal run exe:ghc-lib-build-tool --constraint="filepath >= 1.5" -- --ghc-flavor '

if [ -z "$GHC_FLAVOR" ]; then
eval "$cmd" "$HEAD"
Expand Down

0 comments on commit a45d233

Please sign in to comment.