Skip to content

Commit

Permalink
Use 3.12 stable by default and allow use of 3.13 python (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Oct 18, 2023
1 parent af27ce7 commit c0d317f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ projects using:

## Supported optional arguments:

- `min_python` - Minimal version of python to be tested against, default is `"3.8"`. The maximum value is currently `"3.12"`
- `min_python` - Minimal version of python to be tested against, default is `"3.8"`. The maximum value is currently `"3.13"`
- `other_names`- A list of other tox environments to include in the matrix. We
plan to read them from [envlist](https://tox.wiki/en/latest/config.html#envlist) field in `tox.ini`.
- `platforms` - Default to `linux` only but can be `linux`, `windows`, `macos`
Expand Down
4 changes: 2 additions & 2 deletions entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from actions_toolkit import core

KNOWN_PYTHONS = ("3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev")
KNOWN_PYTHONS = ("3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev")
PLATFORM_MAP = {
"linux": "ubuntu-22.04",
"macos": "macos-13",
Expand Down Expand Up @@ -38,7 +38,7 @@ def main() -> None:
core.debug(f"Testing strategy: {strategies}")

result = []
if max_python == "3.12":
if max_python == "3.13":
python_names = KNOWN_PYTHONS[KNOWN_PYTHONS.index(min_python) :]
else:
python_names = KNOWN_PYTHONS[
Expand Down

0 comments on commit c0d317f

Please sign in to comment.