From 7a7812da68b101aa3b5b97fff3ef218e9532bbb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlson=20B=C3=BCth?= Date: Fri, 13 Mar 2026 23:48:01 +0100 Subject: [PATCH 1/2] chore: update GitHub Actions to latest versions --- .github/workflows/docs.yml | 10 +++++----- .github/workflows/lint.yml | 8 ++++---- .github/workflows/test.yml | 16 ++++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0b2a847..32a141c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -47,13 +47,13 @@ jobs: fi - name: Check out Git repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Get week number run: echo "WEEK=$(date +'%V')" >> $GITHUB_ENV - name: Set up Python ${{ matrix.python-version }} - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v2 with: create-args: python=${{ matrix.python-version }} environment-file: environment-dev.yml @@ -69,12 +69,12 @@ jobs: run: sphinx-build docs public -b dirhtml - name: Setup Pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v4 with: # Upload generated html path: 'public/' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a723245..bee67d8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.head_ref }} @@ -24,7 +24,7 @@ jobs: src: './superblockify ./tests ./examples' options: '--exclude "/(\.png|\.jpg|\.jpeg)/"' - - uses: stefanzweifel/git-auto-commit-action@v4 + - uses: stefanzweifel/git-auto-commit-action@v7 with: commit_message: Fix code style issues with Black commit_user_name: ${{ github.actor }} @@ -42,10 +42,10 @@ jobs: steps: - name: Check out Git repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bee56a2..240b2bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,13 +32,13 @@ jobs: name: Cache for ${{ matrix.python-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Get week number run: echo "WEEK=$(date +'%V')" >> $GITHUB_ENV - name: Set up Python ${{ matrix.python-version }} - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v2 with: create-args: python=${{ matrix.python-version }} environment-file: environment-dev.yml @@ -75,13 +75,13 @@ jobs: shell: bash -el {0} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Get week number run: echo "WEEK=$(date +'%V')" >> $GITHUB_ENV - name: Set up Python ${{ matrix.python-version }} - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v2 with: create-args: python=${{ matrix.python-version }} environment-file: environment-dev.yml @@ -105,7 +105,7 @@ jobs: - name: Store coverage file if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: coverage-${{ matrix.submodule.name }} path: ".coverage.${{ matrix.submodule.name }}" @@ -122,10 +122,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Load coverages - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 id: download with: path: coverage @@ -139,6 +139,6 @@ jobs: run: coverage combine coverage/ - name: Upload coverage report to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 2ccbc883bc67acb1a58ff04a22507248b07473f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlson=20B=C3=BCth?= Date: Sat, 14 Mar 2026 00:16:15 +0100 Subject: [PATCH 2/2] chore: opt-in node 24 --- .github/workflows/docs.yml | 2 ++ .github/workflows/lint.yml | 2 ++ .github/workflows/test.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 32a141c..970c753 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,6 +31,8 @@ jobs: os: [ubuntu-latest] name: Generate documentation runs-on: ${{ matrix.os }} + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true environment: name: Deploy to github pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bee67d8..9a04d83 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,6 +11,8 @@ jobs: run-black: name: Run Black codestyle runs-on: ubuntu-latest + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true steps: - name: Check out Git repository diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 240b2bd..b1e2d89 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,6 +24,8 @@ jobs: python-version: [ "3.10", "3.11", "3.12" ] os: [ ubuntu-latest ] fail-fast: false + env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true defaults: run: