Skip to content
Snippets Groups Projects
Unverified Commit 54da7ef2 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Merge pull request #10004 from haskell/mergify/bp/3.12/pr-9610

Add a --dry-run build check of cabal.project.release (backport #9610)
parents ece298a6 76f23ffb
No related branches found
No related tags found
No related merge requests found
......@@ -124,4 +124,24 @@ jobs:
- uses: actions/checkout@v4
- name: Are buildinfo docs up to date?
run: make doc/buildinfo-fields-reference.rst
release-project:
name: Check Release Project
runs-on: ubuntu-latest
steps:
- name: Set PATH
run: |
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
- name: ghcup
run: |
ghcup --version
ghcup config set cache true
ghcup install ghc --set recommended
ghcup install cabal --set latest
- name: Update Hackage Index
run: cabal v2-update
- uses: actions/checkout@v4
- name: Check Release with Pinned Hackage
run: cabal build all --dry-run --project-file=cabal.project.release
- name: Check Release with Latest Hackage
run: cabal build all --dry-run --project-file=cabal.project.release --index-state="hackage.haskell.org HEAD"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment