Skip to content

Commit 29d21bd

Browse files
add quotes around all Python versions (#107)
1 parent 34dba87 commit 29d21bd

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1717

1818
## [Unreleased]
1919

20+
### Fixed
21+
22+
- Python versions specified in all GitHub Actions workflows now surrounded by quotes, turning them from floats to strings. This avoids the potential for stripping trailing zeros, e.g. `3.10` to `3.1`.
23+
2024
## [2024.24]
2125

2226
### Fixed

src/django_twc_package/.github/workflows/release.yml.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- uses: actions/setup-python@v5
2626
with:
27-
python-version: {{ python_max_version }}
27+
python-version: "{{ python_max_version }}"
2828

2929
- name: Install dependencies
3030
run: |

src/django_twc_package/.github/workflows/test.yml.jinja

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- uses: actions/setup-python@v5
2626
with:
27-
python-version: {{ python_min_version }}
27+
python-version: "{{ python_min_version }}"
2828

2929
- name: Install dependencies
3030
run: |
@@ -47,7 +47,7 @@ jobs:
4747

4848
- uses: actions/setup-python@v5
4949
with:
50-
python-version: ${% raw %}{{ matrix.python-version }}{% endraw %}
50+
python-version: "${% raw %}{{ matrix.python-version }}{% endraw %}"
5151
allow-prereleases: true
5252

5353
- name: Install dependencies
@@ -78,7 +78,7 @@ jobs:
7878

7979
- uses: actions/setup-python@v5
8080
with:
81-
python-version: {{ python_min_version }}
81+
python-version: "{{ python_max_version }}"
8282

8383
- name: Install dependencies
8484
run: |
@@ -96,7 +96,7 @@ jobs:
9696

9797
- uses: actions/setup-python@v5
9898
with:
99-
python-version: {{ python_min_version }}
99+
python-version: "{{ python_min_version }}"
100100

101101
- name: Install dependencies
102102
run: |

0 commit comments

Comments
 (0)