Skip to content

Commit

Permalink
fix: python version
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <me@frostming.com>
  • Loading branch information
frostming committed Apr 30, 2024
1 parent dc95a19 commit 5e8be5b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
shell: bash
steps:
- name: Checkout Source (${{ matrix.project }})
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: python-poetry/${{ matrix.project }}

Expand All @@ -51,7 +51,9 @@ jobs:
run: pipx install poetry

- name: Configure poetry
run: poetry config virtualenvs.in-project true
run: |
poetry config virtualenvs.in-project true
poetry env use ${{ matrix.python-version }}
- name: Get full Python version
if: matrix.project != 'poetry-core'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
id: tag
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}

- name: Set up Python 3.11
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: 3.x

- name: Install and set up Poetry
run: pipx install poetry
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", 3.12]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -53,6 +53,7 @@ jobs:
shell: bash
run: |
poetry config virtualenvs.in-project true
poetry env use ${{ matrix.python-version }}
- name: Set up cache
uses: actions/cache@v3
Expand Down

0 comments on commit 5e8be5b

Please sign in to comment.