Skip to content

Commit

Permalink
update python version usage
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed May 22, 2024
1 parent bdc9353 commit 05eeadb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,21 @@ on:
- '.all-contributorsrc'
- 'CONTRIBUTORS.md'
workflow_call:

env:
PYTHON_VERSION: '3.10'
POETRY_VERSION: '1.8.3'

jobs:
build-reference-documentation:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- run: sudo apt-get install -y pandoc
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
uses: abatilo/actions-poetry@v3.0.0
with:
Expand Down Expand Up @@ -58,7 +57,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: $PYTHON_VERSION
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
uses: abatilo/actions-poetry@v3.0.0
with:
Expand All @@ -74,7 +73,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: $PYTHON_VERSION
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
uses: abatilo/actions-poetry@v3.0.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: $PYTHON_VERSION
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry
uses: abatilo/actions-poetry@v3.0.0
with:
Expand Down

0 comments on commit 05eeadb

Please sign in to comment.