Skip to content

Support Bash 5.0 through 5.3 and test them in CI - #76

Merged
rocky merged 1 commit into
bash-5.3from
ci-bash-version-matrix
Nov 26, 2026
Merged

rocky merged 1 commit into
bash-5.3from
ci-bash-version-matrix

Conversation

@jansorg

@jansorg jansorg commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Marks bash-5.3 as compatible with 5.0 through 5.3 and adds a CI workflow to verify that it's actually true.

bash-5.2 was marked as compatible with 5.0 through 5.2. The same makes it easier for me to deploy with bashsupport-pro.

I fully understand that bash-5.3 will drop support for earlier versions. That's fine by me, this PR is only meant to not make the compatibility check more restrictive than necessary. As soon as support for a version like 5.0 is dropped, we can update the workflow and configure.ac with that.

Claude-assisted, everything was manually reviewed by me.

  • configure.ac now accepts Bash 5.0 and 5.1 in addition to 5.2 and 5.3.
  • New workflow .github/workflows/bash-versions.yml runs make check inside the official bash:<version> Docker images.
    • It runs on pushes to and PRs against bash-5.3, and can also be started manually.
    • Manual runs take a comma-separated list of versions (default 5.0,5.1,5.2,5.3).

Tested locally in Docker: all tests pass on Bash 5.0.18, 5.1.16, 5.2.37 and 5.3.20. Two integration tests (test-sig, test-bug-loc) are skipped on every version.

Note: GitHub only offers manual runs for workflows that exist on the default branch (bash-5.2). Until this file is there, the manual run with the version list isn't available.

configure now accepts Bash 5.0 and 5.1 in addition to 5.2 and 5.3.

New GitHub Actions workflow runs the test suite in the official
bash:<version> Docker images. It runs on pushes and pull requests
against bash-5.3, and on manual dispatch with a comma-separated list
of versions (default 5.0,5.1,5.2,5.3).
@jansorg
jansorg marked this pull request as ready for review November 26, 2026 10:58
@jansorg
jansorg requested a review from rocky November 26, 2026 11:02

@rocky rocky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! LGTM

@rocky
rocky merged commit 7c89c0c into bash-5.3 Nov 26, 2026
11 checks passed
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