From 0c3db1c08ff4769933f2a22b2a87173938c5d8d4 Mon Sep 17 00:00:00 2001 From: Brian Pugh Date: Mon, 26 Feb 2024 20:42:32 -0800 Subject: [PATCH] update github-action steps --- .github/workflows/deploy.yaml | 8 ++++---- .github/workflows/tests.yaml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index eaf543e..9e525bc 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -16,13 +16,13 @@ jobs: fetch-depth: 0 # Includes getting tags - name: Cache $HOME/.local # Significantly speeds up Poetry Install - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.local key: dotlocal-${{ runner.os }}-${{ hashFiles('.github/workflows/deploy.yml') }} - name: Set up python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.12" @@ -39,7 +39,7 @@ jobs: - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: .venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} @@ -60,7 +60,7 @@ jobs: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} poetry publish - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: dist diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d4b4d0b..08a43fb 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -44,10 +44,10 @@ jobs: # check-out repo and set-up python #---------------------------------------------- - name: Check out repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -66,7 +66,7 @@ jobs: #---------------------------------------------- - name: Load cached venv id: cached-poetry-dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: .venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}