Skip to content

Conversation

@webdevred
Copy link
Owner

@webdevred webdevred commented Oct 2, 2025

Cabal changes

  • Added tests: False globally in cabal.project and enabled tests only for jbeam-edit package
  • Ensured tests: True in cabal.project.ci and cabal.project.dev for CI/dev environments
  • Made yaml dependency conditional on flag(transformation) in jbeam-edit.cabal

CI & workflow changes

  • Added new unified scripts:
    • .github/scripts/configure_project.sh for dynamic Cabal configuration
    • .github/scripts/prepare_installer.sh replacing older copy/test scripts
  • Simplified build-and-release.yaml:
    • Replaced inline Cabal configuration with the new script
    • Changed caching to use plan.json instead of package.yaml
    • Limited artifact upload to tagged builds only
  • Updated build-and-test.yaml, lint-and-format.yaml, and future-proofing.yaml:
    • Skipped runs for draft PRs
  • Added dependency freeze step to future-proofing and build-and-release workflows

@webdevred webdevred force-pushed the more-cicd-improvements branch 10 times, most recently from e7e1869 to ee6836f Compare October 7, 2025 10:32
- GitHub workflows (`build-and-release.yaml` & `future-proofing.yaml`):
  * Added a step to freeze dependencies and list them from plan.json.
  * Prints total number of dependencies for auditing purposes.

- Internal library `jbeam-edit-transformation`:
  * `yaml` dependency is now included only when `transformation` flag is enabled.
  * Buildable logic remains tied to the `transformation` flag.

- Executable `jbeam-edit-dump-ast`:
  * Conditional dependencies (`jbeam-edit-transformation`, `pretty-simple`) now only included when both `dump-ast` and `transformation` flags are enabled.
  * Buildable logic remains unchanged.
@webdevred webdevred force-pushed the more-cicd-improvements branch 2 times, most recently from e0d4293 to 249a1f6 Compare October 7, 2025 13:14
@webdevred webdevred force-pushed the more-cicd-improvements branch 3 times, most recently from ebcdb9d to b79e09f Compare October 7, 2025 21:25
@webdevred webdevred force-pushed the more-cicd-improvements branch from b79e09f to 70e02ed Compare October 7, 2025 21:34
@webdevred webdevred merged commit 71112d9 into master Oct 8, 2025
13 checks passed
@webdevred webdevred deleted the more-cicd-improvements branch October 8, 2025 09:30
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