Skip to content

Commit

Permalink
Setup Python 3.11 across all jobs to not depend on the OS
Browse files Browse the repository at this point in the history
  • Loading branch information
caponetto committed Oct 14, 2024
1 parent dac7b17 commit 01a043f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Lint
run: make lint-server

Expand Down Expand Up @@ -200,6 +204,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Build
run: make docs

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/update-version-through-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
env:
NODE_VERSION: 20.11.0
YARN_VERSION: 3.5.0
PYTHON_VERSION: 3.11

jobs:
update_version:
Expand All @@ -29,6 +30,11 @@ jobs:
ref: ${{ github.event.inputs.source_branch }}
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 01a043f

Please sign in to comment.