From e5160f1b7b9f7be422af8a1ab1318825d2060b65 Mon Sep 17 00:00:00 2001 From: Gunnar Kreitz Date: Mon, 13 Apr 2026 08:28:24 +0200 Subject: [PATCH 1/2] Update github actions to latest versions --- .github/workflows/pypi.yml | 8 ++++---- .github/workflows/python-app.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index bf8fceb6..d89ab404 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -18,7 +18,7 @@ jobs: container: image: quay.io/pypa/manylinux_2_28_x86_64 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: fetch-depth: 0 # We need full history for setuptools_scm to figure out version - name: Set safe directory (work around checkout not doing that properly for containers) @@ -34,7 +34,7 @@ jobs: rm -f dist/*.whl cp wheelhouse/*.whl dist - name: Store the distribution packages - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: python-package-distributions path: dist/ @@ -55,7 +55,7 @@ jobs: steps: - name: Download all the dists - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: python-package-distributions path: dist/ @@ -80,7 +80,7 @@ jobs: steps: - name: Download all the dists - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: python-package-distributions path: dist/ diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index b3226dfe..94aabf52 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -21,9 +21,9 @@ jobs: container: image: problemtools/githubci:latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -47,7 +47,7 @@ jobs: container: image: problemtools/githubci:latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: submodules: true - name: Build debian packages From 991b6ebbb3f749fe46e51661e4c89c8371d0db46 Mon Sep 17 00:00:00 2001 From: Gunnar Kreitz Date: Mon, 13 Apr 2026 09:17:28 +0200 Subject: [PATCH 2/2] Work around actions/checkout safe directory not working --- .github/workflows/python-app.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 94aabf52..4ef724da 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -50,6 +50,8 @@ jobs: - uses: actions/checkout@v6 with: submodules: true + - name: Set safe directory (work around checkout not doing that properly for containers) + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Build debian packages run: | make builddeb