Skip to content

Commit

Permalink
ci: update to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Apr 28, 2024
1 parent 58f0a3c commit e8723de
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
allow-prereleases: true

- uses: pdm-project/setup-pdm@v4
name: Setup PDM
with:
python-version: 3.11
python-version: 3.12
allow-python-prereleases: true
cache: true

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install Pre-Commit
run: python -m pip install pre-commit && pre-commit install
Expand All @@ -38,12 +38,12 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
uses: ./.github/workflows/test.yaml
with:
python-version: ${{ matrix.python-version }}
coverage: ${{ matrix.python-version == '3.11' }}
integration: ${{ matrix.python-version == '3.11' }}
coverage: ${{ matrix.python-version == '3.12' }}
integration: ${{ matrix.python-version == '3.12' }}

test-platform-compat:
if: github.event_name == 'push'
Expand All @@ -53,7 +53,7 @@ jobs:
os: ["macos-latest"]
uses: ./.github/workflows/test.yaml
with:
python-version: "3.11"
python-version: "3.12"
os: ${{ matrix.os }}

sonarcloud:
Expand Down Expand Up @@ -129,13 +129,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
allow-prereleases: true

- uses: pdm-project/setup-pdm@v4
name: Setup PDM
with:
python-version: 3.11
python-version: 3.12
allow-python-prereleases: true
cache: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
allow-prereleases: true

- uses: pdm-project/setup-pdm@v4
name: Setup PDM
with:
python-version: 3.11
python-version: 3.12
allow-python-prereleases: true
cache: true

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up python 3.11
- name: Set up python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- uses: pdm-project/setup-pdm@v4
name: Setup PDM
with:
python-version: 3.11
python-version: 3.12
allow-python-prereleases: true
cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: pdm-project/setup-pdm@v4
name: Setup PDM
with:
python-version: 3.11
python-version: 3.12
allow-python-prereleases: true
cache: true

Expand Down

0 comments on commit e8723de

Please sign in to comment.