Skip to content

Commit

Permalink
chore: update GitHub Actions to use latest versions and Python 3.13
Browse files Browse the repository at this point in the history
Upgraded actions/checkout to v4 and actions/setup-python to v5 across all workflows. Updated supported Python versions to include 3.13 where applicable, and removed older versions like 3.6 and 3.7 in `python-tox.yml` for better alignment with current usage. These changes improve CI workflows and compatibility.
  • Loading branch information
FelixTheC committed Jan 4, 2025
1 parent 8311ff1 commit 8412c42
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 27 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-strongtyping-module-310.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ name: Strongtyping Module integration
on:
push:
branches:
- 'py_3_10'
- 'py_3_13'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
- uses: actions/checkout@v5
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.13'
- name: Install strongtyping-modules and dependencies
run: |
python -m pip install --upgrade pip
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/python-strongtyping-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ on:
- 'py_3_10'
- 'py_3_11'
- 'py_3_12'
- 'py_3_13'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install strongtyping-modules and dependencies
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/python-tox-310.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Set up Python 3.11
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/python-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 8412c42

Please sign in to comment.