Skip to content

Commit 13c214e

Browse files
committed
Force astroid version in docs build, 4.0.0 broke the docs
1 parent fbde4be commit 13c214e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ name: Deploy Next.js site to Pages
66

77
on:
88
schedule:
9-
- cron: '0 0 * * *' # runs at every 12AM UTC
9+
- cron: "0 0 * * *" # runs at every 12AM UTC
1010
# Runs on pushes targeting the default branch
1111
push:
12-
branches: ['main']
12+
branches: ["main"]
1313

1414
# Allows you to run this workflow manually from the Actions tab
1515
workflow_dispatch:
@@ -22,15 +22,15 @@ permissions:
2222

2323
# Allow one concurrent deployment
2424
concurrency:
25-
group: 'pages'
25+
group: "pages"
2626
cancel-in-progress: true
2727

2828
jobs:
2929
build:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
33-
python-version: ['3.11']
33+
python-version: ["3.11"]
3434
steps:
3535
# Build documentation pages
3636
- uses: actions/checkout@v4
@@ -42,6 +42,7 @@ jobs:
4242
run: |
4343
python -m pip install --upgrade pip
4444
pip install sphinx==7.1.2
45+
pip install astroid<4.0.0 --force
4546
git clone https://github.com/pygame-community/pygame-ce.git
4647
cd pygame-ce
4748
python setup.py docs
@@ -69,7 +70,7 @@ jobs:
6970
- name: Setup Node
7071
uses: actions/setup-node@v4
7172
with:
72-
node-version: '16'
73+
node-version: "16"
7374
cache: ${{ steps.detect-package-manager.outputs.manager }}
7475
- name: Setup Pages
7576
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)