From 3277ac3a18754d08a0afb54691b62bbe280a81f3 Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Fri, 18 Nov 2022 11:24:04 +0100 Subject: [PATCH] ci: update actions (#4464) * ci: update actions * ci: update actions * ci: update actions * ci: use py3.9 for docs --- .github/workflows/docs.yml | 14 +++++++------- .github/workflows/examples.yml | 2 +- .github/workflows/projects.yml | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f11b0006..35802033 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,4 +1,4 @@ -name: Docs +name: Documentation on: [push, pull_request] @@ -7,13 +7,13 @@ jobs: name: Build Docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: "recursive" - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -40,7 +40,7 @@ jobs: - name: Save artifact if: ${{ github.event_name == 'push' }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: docs path: ./docs.tar.gz @@ -57,7 +57,7 @@ jobs: if: ${{ github.event_name == 'push' }} steps: - name: Download artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: docs - name: Unpack artifact @@ -78,7 +78,7 @@ jobs: fi - name: Checkout latest Docs continue-on-error: true - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: ${{ env.DOCS_REPO }} path: ${{ env.DOCS_DIR }} diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 115817c4..6bb258e0 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -20,7 +20,7 @@ jobs: submodules: "recursive" - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: "3.9" diff --git a/.github/workflows/projects.yml b/.github/workflows/projects.yml index 34c30144..0077a3bd 100644 --- a/.github/workflows/projects.yml +++ b/.github/workflows/projects.yml @@ -45,7 +45,7 @@ jobs: submodules: "recursive" - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: 3.9 @@ -53,7 +53,7 @@ jobs: run: pip install -U . - name: Check out ${{ matrix.project.repository }} - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: "recursive" repository: ${{ matrix.project.repository }}