From 2e0d95b95fc09bb7415ef61fd78cc1f4522e904c Mon Sep 17 00:00:00 2001 From: Karl Sutt Date: Mon, 1 Jul 2024 11:11:32 +0300 Subject: [PATCH] Update action version for workflow steps --- .github/workflows/release.yml | 12 ++++++------ .github/workflows/run-tests.yml | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08dd291..8547689 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Release id: release - uses: google-github-actions/release-please-action@v3 + uses: googleapis/release-please-action@v4 with: release-type: python package-name: judoscale @@ -28,23 +28,23 @@ jobs: if: ${{ needs.release-please.outputs.release_created == 'true' }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python id: setup-python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Cache Poetry install - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.local # NB! Update key when Poetry version is updated key: python-${{ steps.setup-python.outputs.python-version }}-poetry-1.2.2 - name: Install Poetry - uses: snok/install-poetry@v1.3.3 + uses: snok/install-poetry@v1 with: # NB! Update Poetry cache key when updating Poetry version version: 1.2.2 @@ -53,7 +53,7 @@ jobs: - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 87ec857..c8d7be3 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,23 +9,23 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} id: setup-python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Cache Poetry install - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.local # NB! Update key when Poetry version is updated key: python-${{ steps.setup-python.outputs.python-version }}-poetry-1.2.2 - name: Install Poetry - uses: snok/install-poetry@v1.3.3 + uses: snok/install-poetry@v1 with: # NB! Update Poetry cache key when updating Poetry version version: 1.2.2 @@ -34,7 +34,7 @@ jobs: - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}