Skip to content

Commit

Permalink
Use the STACKAGE_VERSION for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Jun 4, 2024
1 parent e87b30f commit 9d4620a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ jobs:
enable-stack: true
stack-version: '2.15.7'

- name: Set up GHC 8.10.7 for scripts
uses: haskell-actions/setup@v2
with:
ghc-version: "8.10.7"

- name: Configure stack
run: |
stack config set system-ghc --global true
Expand Down
2 changes: 2 additions & 0 deletions project-files.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ updo/Makefile:
curl -sSL ${UPDO_URL} | tar -xz
mv updo-* updo
chmod +x $$(grep -RIl '^#!' updo)
grep -RIl '^#!' updo \
| xargs sed --in-place -E 's/--resolver=(nightly-[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}|lts-[[:digit:]]+\.[[:digit:]]+)/--resolver=$(STACKAGE_VERSION)/g'

0 comments on commit 9d4620a

Please sign in to comment.