From c01243729440da1302a956fa73711d3ddad96783 Mon Sep 17 00:00:00 2001 From: Geoffrey Bolmier Date: Mon, 8 Jul 2024 21:57:36 -0400 Subject: [PATCH] Update install-env and release-docs workflows (#1569) - Update actions to latest versions - Update Python version to 3.12.3 in release-docs workflow - Increment Poetry installation cached key in install-env workflow --- .github/actions/install-env/action.yml | 10 +++++----- .github/workflows/release-docs.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/install-env/action.yml b/.github/actions/install-env/action.yml index 719b9793db..700444c61e 100644 --- a/.github/actions/install-env/action.yml +++ b/.github/actions/install-env/action.yml @@ -14,19 +14,19 @@ runs: using: "composite" steps: - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python id: set-up-python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} - name: Load cached Poetry installation - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.local # the path depends on the OS - key: poetry-1 # increment to reset cache + key: poetry-2 # increment to reset cache - name: Install poetry uses: snok/install-poetry@v1 @@ -37,7 +37,7 @@ runs: - name: Load cached virtual env id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-${{ runner.os }}-${{ steps.set-up-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} diff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.yml index e152015000..4347f2c983 100644 --- a/.github/workflows/release-docs.yml +++ b/.github/workflows/release-docs.yml @@ -10,12 +10,12 @@ jobs: ubuntu: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build River uses: ./.github/actions/install-env with: - python-version: "3.12" + python-version: "3.12.3" - name: Install extra Ubuntu dependencies run: sudo apt-get install graphviz pandoc