Skip to content

Commit

Permalink
Add support for ubuntu-24.04 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed May 26, 2024
1 parent 92f078e commit 25cbdca
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ jobs:

check-structlog:
name: Build & verify the structlog package.
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04

steps:
- uses: actions/checkout@v4
Expand All @@ -52,7 +59,7 @@ jobs:
id: baipp
with:
path: structlog
upload-name-suffix: "-structlog"
upload-name-suffix: "-structlog-${{ matrix.os }}"

- run: echo Packages can be found at ${{ steps.baipp.outputs.dist }}

Expand All @@ -77,3 +84,20 @@ jobs:
upload-name-suffix: "-pytest"

- run: echo Packages can be found at ${{ steps.baipp.outputs.dist }}

required-checks-pass:
name: Ensure everything required is passing for branch protection
if: always()

needs:
- check-argon2-cffi-bindings
- check-structlog
- check-pytest

runs-on: ubuntu-latest

steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased](https://github.com/hynek/build-and-inspect-python-package/compare/v2.5.0...main)

### Added

- Support for `ubuntu-24.04` builders.
[#126](https://github.com/hynek/build-and-inspect-python-package/pull/126)


## [2.5.0](https://github.com/hynek/build-and-inspect-python-package/compare/v2.4.0...v2.5.0) - 2024-05-13

Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ runs:
mkdir -p out/sdist
tar xf *.tar.gz -C out/sdist
if ! command -v tree &> /dev/null; then
sudo apt-get install tree
fi
echo -e '\n<details><summary>SDist contents</summary>\n' >> $GITHUB_STEP_SUMMARY
(cd /tmp/baipp/dist/out/sdist && tree -Da --timefmt="%Y-%m-%dT%H:%M:%SZ" * | sed 's/^/ /' | tee -a $GITHUB_STEP_SUMMARY)
echo -e '\n</details>\n' >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 25cbdca

Please sign in to comment.