Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 31, 2025

Addresses two CI/CD workflow inefficiencies identified in review comments on PR #7:

Cache configuration cleanup

  • Removed duplicate restore-keys entry that redundantly matched the primary cache key with a trailing dash
  • Keeps only the GHC version prefix fallback for broader cache reuse

Removed deprecated cabal command

  • Eliminated cabal v2-update call since cabal update already handles source-repository-packages
  • The v2- prefix is deprecated in modern Cabal versions
# Before: redundant cache fallback
restore-keys: |
  ${{ runner.os }}-cabal-${{ matrix.ghc-version }}-${{ hashFiles(...) }}-
  ${{ runner.os }}-cabal-${{ matrix.ghc-version }}-

# After: single meaningful fallback
restore-keys: |
  ${{ runner.os }}-cabal-${{ matrix.ghc-version }}-

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Note

Streamlines the GitHub Actions workflow in /.github/workflows/build-and-test.yml.

  • Simplifies Cabal store caching by removing the redundant restore-keys entry; keeps only the GHC-version prefix fallback
  • Removes deprecated cabal v2-update; retains cabal update for source updates
  • No changes to build/test commands or matrix config beyond these cleanups

Written by Cursor Bugbot for commit 6909c99. This will update automatically on new commits. Configure here.

Copilot AI changed the title [WIP] Update Pattern constructors for Gram-HS integration Clean up CI/CD workflow cache configuration and remove deprecated commands Dec 31, 2025
Copilot AI requested a review from akollegger December 31, 2025 09:24
@akollegger akollegger marked this pull request as ready for review December 31, 2025 09:49
@akollegger akollegger merged commit 4f65ff0 into 006-gram-hs-migration Dec 31, 2025
1 check passed
@akollegger akollegger deleted the copilot/sub-pr-7 branch December 31, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants