-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update dependency: deps/haskell-backend_release #235
Changes from all commits
7b82a2b
b2dac3b
11e671f
5b9528f
24c89ad
6ca0571
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,10 @@ concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
ghc_version: "9.2.8" | ||
stack_version: "2.9.3" | ||
|
||
jobs: | ||
|
||
nix-flake-submodule-sync: | ||
|
@@ -39,6 +43,15 @@ jobs: | |
name: k-framework | ||
authToken: '${{ secrets.CACHIX_PUBLIC_TOKEN }}' | ||
|
||
- uses: haskell/actions/setup@v2 | ||
id: setup-haskell | ||
with: | ||
ghc-version: ${{ env.ghc_version }} | ||
stack-version: ${{ env.stack_version }} | ||
enable-stack: true | ||
stack-setup-ghc: true | ||
cabal-update: true | ||
|
||
- name: 'Update Nix flake from haskell backend release tag' | ||
run: | | ||
set -euxo pipefail | ||
|
@@ -53,6 +66,7 @@ jobs: | |
fi | ||
|
||
if ${changed}; then | ||
cabal update | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IDK why this is necessary... but without it, the |
||
scripts/update-haskell-backend.sh ${haskell_backend_version} | ||
git add flake.lock stack.yaml cabal.project cabal.project.freeze | ||
git commit -m "update haskell-backend to version ${haskell_backend_version}" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
a6230144a37ee9ebf0f6dffc849faf5ce10df380 | ||
2e33122cd354045da4e5f40dea9344e02c673a64 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
The
cabal freeze
command was previously picking up the newer ghc from the runner installation (which brought abase
library newer than our requested one). I tried running it under a nix shell but with the same result.The Haskell installation takes some time and we need to manually change the GHC version when we upgrade but we would anyway want to do that IMHO