From a4c0d7998d2bd8583686b206c21e0ec66338fd4c Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Fri, 20 Nov 2026 23:45:50 +0100 Subject: [PATCH] pin Ubuntu version on CI --- .github/workflows/buildwheels.yml | 2 +- .github/workflows/pdoc.yml | 7 ++----- .github/workflows/pylint.yml | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/buildwheels.yml b/.github/workflows/buildwheels.yml index c4eb7e90..62acbaf3 100644 --- a/.github/workflows/buildwheels.yml +++ b/.github/workflows/buildwheels.yml @@ -16,7 +16,7 @@ on: jobs: debug_build_ok: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7 with: diff --git a/.github/workflows/pdoc.yml b/.github/workflows/pdoc.yml index 03ce12b7..b5262273 100644 --- a/.github/workflows/pdoc.yml +++ b/.github/workflows/pdoc.yml @@ -12,10 +12,7 @@ on: jobs: deploy: - strategy: - matrix: - platform: [ubuntu-latest] - runs-on: ${{ matrix.platform }} + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7 with: @@ -30,7 +27,7 @@ jobs: pip install -e . PDOC_ALLOW_EXEC=1 PDOC_GENERATE_PYPARTMC_DOCS=1 python -We -m pdoc -o html PyPartMC - name: Deploy - if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' }} + if: ${{ github.ref == 'refs/heads/main' }} uses: JamesIves/github-pages-deploy-action@v4.9.0 with: BRANCH: pdoc diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 3c4a636e..eed1cdd1 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -9,7 +9,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v7