Skip to content

Conversation

@pbrisbin
Copy link
Member

@pbrisbin pbrisbin commented Feb 21, 2025

Modernize CI workflow

87d1df0

  • Rev checkout and stack actions
  • Use haskell-actions HLint actions
  • Use stack-action/generate-matrix

Don't run CI workflow on pushes to main

7bf9e79

This really doesn't do or gate anything and is just wasted runner
minutes.

fix: implement semantic-release automation

70ba741

This involves a few steps that I've kept together for easy reference as
an example:

  1. Configure semantic release (.releaserc.yaml)

    This uses a custom plugin, which I maintain, to upload with stack upload as the main release action.

  2. Trigger semantic release in the Release workflow

  3. Update package.yaml to not have a meaningful version

    Except the 2. prefix is there, so my release plugin can infer it.

  4. Update the README with release instructions

  5. Update CHANGELOG to point to releases

    This is how semantic-release folks recommend doing it. The Releases
    (from now own) will have automatically-maintained changelog
    information. I may backfill previous releases.

- Rev checkout and stack actions
- Use haskell-actions HLint actions
- Use stack-action/generate-matrix
This really doesn't do or gate anything and is just wasted runner
minutes.
This involves a few steps that I've kept together for easy reference as
an example:

1. Configure semantic release (`.releaserc.yaml`)

   This uses a custom plugin, which I maintain, to upload with `stack
   upload` as the main release action.

2. Trigger semantic release in the Release workflow

3. Update `package.yaml` to not have a meaningful version

   Except the `2.` prefix is there, so my release plugin can infer it.

4. Update the README with release instructions

5. Update CHANGELOG to point to releases

   This is how semantic-release folks recommend doing it. The Releases
   (from now own) will have automatically-maintained changelog
   information. I may backfill previous releases.
@pbrisbin
Copy link
Member Author

@pbrisbin pbrisbin marked this pull request as ready for review February 21, 2025 17:47
@pbrisbin pbrisbin requested review from a team and z0isch and removed request for a team February 21, 2025 17:47
@pbrisbin pbrisbin merged commit f98b619 into main Feb 21, 2025
14 checks passed
@pbrisbin pbrisbin deleted the rc/semantic-release branch February 21, 2025 19:39
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.

3 participants