Skip to content

Update ci workflow feb2026#180

Open
OutlawAndy wants to merge 3 commits intomasterfrom
update-ci-workflow-feb2026
Open

Update ci workflow feb2026#180
OutlawAndy wants to merge 3 commits intomasterfrom
update-ci-workflow-feb2026

Conversation

@OutlawAndy
Copy link
Member

Why?

The CI template was quite out of date at this point.

What Changed

What changed in this PR?

  • Update CI workflow

Pre-merge checklist

  • Update relevant READMEs
  • Run bin/bump_version or bin/bump_version --patch

@OutlawAndy OutlawAndy self-assigned this Feb 28, 2026
@OutlawAndy OutlawAndy requested a review from wesrich February 28, 2026 03:34

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}-${{ github.event.ref }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. This is actually bad... If you make this change, in my experience, it never catches things as concurrency issues and cancels them, as each build is a new event ref.
  2. I would also add that on my repos, I like main to always build (not cancel later pushes). If so, the cancel-in-progress suggestion below allows it to only cancel from later pushes on the same PR.
Suggested change
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}-${{ github.event.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

- name: Run shared flow
uses: RoleModel/actions/linting-and-non-system-tests@v2
- run: bin/bundler-audit
- run: bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this will work for every repo? I guess people can remove it if they don't have brakeman installed...?

- name: Checkout code
uses: actions/checkout@v4

- name: Setup vips
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we ever (often?) need vips? Should we leave this in but commented out, for those who need it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants