From 340232cf1e6df78f422b7c35c9d549d5cdf80448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Go=CC=81mez=20Bachiller?= Date: Mon, 22 Jan 2024 16:54:04 +0100 Subject: [PATCH] chore: upgrade actions --- .github/workflows/build.yaml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7bfc7a7..68c51e5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -4,33 +4,22 @@ on: push: branches: [master] -# Environment -env: - PYTHON_VERSION: 3.9 - POETRY_VERSION: 1.1.13 - jobs: # Build and deploy documentation site deploy: runs-on: ubuntu-latest steps: - name: Checkout source form GitHub - uses: actions/checkout@v2 - - - name: Install Python runtime and dependencies - uses: actions/setup-python@v2 - with: - python-version: ${{ env.PYTHON_VERSION }} - - - name: Run image - uses: abatilo/actions-poetry@v2.0.0 + uses: actions/checkout@v4 + - name: Install poetry + run: pipx install poetry + - uses: actions/setup-python@v5 with: - poetry-version: ${{ env.POETRY_VERSION }} - + python-version: '3.10' + cache: 'poetry' - name: Install dependencies run: | poetry install - - name: Deploy run: | poetry run mkdocs gh-deploy --force