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 7, 2024
1 parent 3d881ac commit 34203d0
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 34203d0

Please sign in to comment.