Skip to content

Commit

Permalink
Use recent version of python in docker workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
FirelightFlagboy committed Oct 4, 2024
1 parent c438b49 commit a6a1723
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Install python
uses: actions/setup-python@e9675cc634901ff55d92c575ecd6945e65464b00 # pin v5.2.0
id: setup-python
with:
python-version: 3.12

- name: Get current version
id: version
run: python misc/releaser.py version --uniq-dev | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/docker-testbed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Install python
uses: actions/setup-python@e9675cc634901ff55d92c575ecd6945e65464b00 # pin v5.2.0
id: setup-python
with:
python-version: 3.12

- name: Get current version
id: version
run: python misc/releaser.py version --uniq-dev | tee -a $GITHUB_OUTPUT
Expand Down
6 changes: 6 additions & 0 deletions misc/version_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,12 @@ def set_tool_version(tool: Tool, version: str) -> None:
ROOT_DIR / ".github/workflows/codeql.yml": {
Tool.Poetry: [POETRY_GA_VERSION],
},
ROOT_DIR / ".github/workflows/docker-server.yml": {
Tool.Python: [PYTHON_GA_VERSION],
},
ROOT_DIR / ".github/workflows/docker-testbed.yml": {
Tool.Python: [PYTHON_GA_VERSION],
},
ROOT_DIR / ".github/workflows/package-server.yml": {
Tool.Poetry: [POETRY_GA_VERSION],
Tool.Node: [NODE_GA_VERSION],
Expand Down

0 comments on commit a6a1723

Please sign in to comment.