diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7bfc7a7..dd86e44 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,8 +6,7 @@ on: # Environment env: - PYTHON_VERSION: 3.9 - POETRY_VERSION: 1.1.13 + PYTHON_VERSION: 3.10 jobs: # Build and deploy documentation site @@ -15,22 +14,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source form GitHub - uses: actions/checkout@v2 - + uses: actions/checkout@v5 + - name: Install poetry + run: pipx install poetry - name: Install Python runtime and dependencies - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - - - name: Run image - uses: abatilo/actions-poetry@v2.0.0 - with: - poetry-version: ${{ env.POETRY_VERSION }} - + cache: 'poetry' - name: Install dependencies run: | poetry install - - name: Deploy run: | poetry run mkdocs gh-deploy --force