commit: 1ad24c14317b64c50edf9fe53a50c4504ad51733 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Dec 20 15:17:07 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Dec 20 15:44:38 2025 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=1ad24c14
ci: add step for installing bash 5.3 Part-of: https://github.com/pkgcore/pkgcore/pull/456 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .github/workflows/release.yml | 5 ++++- .github/workflows/test.yml | 14 +++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7cc4449e..914320b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,9 @@ jobs: - name: Checkout code uses: actions/checkout@v5 + - name: Install bash 5.3 + uses: pkgcore/gh-actions/bash-5.3@main + - name: Reject any VCS dependencies continue-on-error: ${{ github.ref_type == 'branch' && github.ref_name != 'release-test-full' }} uses: pkgcore/gh-actions/reject-python-vcs-deps@main @@ -127,4 +130,4 @@ jobs: packages-dir: . repository-url: https://test.pypi.org/legacy/ # attestations are bound in a way re-releasing isn't possible. Disable for tests. - attestations: false \ No newline at end of file + attestations: false diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6a379598..af35e60c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,6 +48,9 @@ jobs: with: artifact-id: ${{ inputs.release-artifact-id }} + - name: Install bash 5.3 + uses: pkgcore/gh-actions/bash-5.3@main + - name: Pin dependencies to minimal versions if: ${{ matrix.deps == 'minimal-deps' }} run: sed -e '/dependencies/,$s/~=/==/' -i pyproject.toml @@ -64,11 +67,6 @@ jobs: if: ${{ matrix.experimental }} run: sudo apt install libxml2-dev libxslt-dev python3-dev - # macos needs newer bash - - name: Install macos deps - if: ${{ matrix.os == 'macos-latest' }} - run: brew install bash - - name: Install dependencies run: | python -m pip install --upgrade pip @@ -99,6 +97,9 @@ jobs: artifact-id: ${{ inputs.release-artifact-id }} path: pkgcore + - name: Install bash 5.3 + uses: pkgcore/gh-actions/bash-5.3@main + - name: Find last ${{ matrix.repo }} release run: | versions=$(git ls-remote -q --refs https://github.com/pkgcore/${{ matrix.repo }} | \ @@ -158,6 +159,9 @@ jobs: artifact-id: ${{ inputs.release-artifact-id }} path: pkgcore + - name: Install bash 5.3 + uses: pkgcore/gh-actions/bash-5.3@main + - name: Checkout gentoo uses: actions/checkout@v4 with:
