Skip to content

Commit

Permalink
Add a --dry-run build check of cabal.project.release
Browse files Browse the repository at this point in the history
- Cache of ~/.cabal/store not needed for --dry-run
- Remove workaround for the new job only
  • Loading branch information
philderbeast committed Mar 14, 2024
1 parent aaf16c4 commit cdc8bde
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/quick-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,22 @@ 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 project
run: cabal build all --enable-tests --enable-benchmarks --dry-run --project-file=cabal.project.release --index-state="hackage.haskell.org HEAD"

0 comments on commit cdc8bde

Please sign in to comment.