From 13c214e7948c80e499ea9a44c9410ab35cf16b22 Mon Sep 17 00:00:00 2001 From: oddbookworm Date: Sun, 5 Oct 2025 22:24:50 -0500 Subject: [PATCH 1/2] Force astroid version in docs build, 4.0.0 broke the docs --- .github/workflows/build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b152b4..a0b33ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,10 +6,10 @@ name: Deploy Next.js site to Pages on: schedule: - - cron: '0 0 * * *' # runs at every 12AM UTC + - cron: "0 0 * * *" # runs at every 12AM UTC # Runs on pushes targeting the default branch push: - branches: ['main'] + branches: ["main"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -22,7 +22,7 @@ permissions: # Allow one concurrent deployment concurrency: - group: 'pages' + group: "pages" cancel-in-progress: true jobs: @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.11'] + python-version: ["3.11"] steps: # Build documentation pages - uses: actions/checkout@v4 @@ -42,6 +42,7 @@ jobs: run: | python -m pip install --upgrade pip pip install sphinx==7.1.2 + pip install astroid<4.0.0 --force git clone https://github.com/pygame-community/pygame-ce.git cd pygame-ce python setup.py docs @@ -69,7 +70,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: '16' + node-version: "16" cache: ${{ steps.detect-package-manager.outputs.manager }} - name: Setup Pages uses: actions/configure-pages@v5 From 16a07509ba0ac42bdbbf606678687fc2e0889dc7 Mon Sep 17 00:00:00 2001 From: oddbookworm Date: Sun, 5 Oct 2025 22:30:48 -0500 Subject: [PATCH 2/2] Revert formatting done on file save by my editor --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0b33ef..6fdefc7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,10 +6,10 @@ name: Deploy Next.js site to Pages on: schedule: - - cron: "0 0 * * *" # runs at every 12AM UTC + - cron: '0 0 * * *' # runs at every 12AM UTC # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ['main'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -22,7 +22,7 @@ permissions: # Allow one concurrent deployment concurrency: - group: "pages" + group: 'pages' cancel-in-progress: true jobs: @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11"] + python-version: ['3.11'] steps: # Build documentation pages - uses: actions/checkout@v4 @@ -70,7 +70,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: "16" + node-version: '16' cache: ${{ steps.detect-package-manager.outputs.manager }} - name: Setup Pages uses: actions/configure-pages@v5