Repository navigation
Support Bash 5.0 through 5.3 and test them in CI - #76
Merged
Merged
Conversation
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
marked this pull request as ready for review
November 26, 2026 10:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.acwith that.Claude-assisted, everything was manually reviewed by me.
configure.acnow accepts Bash 5.0 and 5.1 in addition to 5.2 and 5.3..github/workflows/bash-versions.ymlrunsmake checkinside the officialbash:<version>Docker images.bash-5.3, and can also be started manually.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.