From 0b1eab14ca39c3a3bfb4e915347e07495171dcba Mon Sep 17 00:00:00 2001 From: Denny Biasiolli Date: Mon, 22 May 2023 10:40:34 +0200 Subject: [PATCH] updating workflow actions to remove deprecation warnings (#1243) - actions/checkout from v2 to v3 - actions/setup-python from v2 to v4 - actions/cache from v2 to v3 Co-authored-by: monkut --- .github/workflows/cd.yaml | 4 ++-- .github/workflows/ci.yaml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index a3cf7e96d..b22f50413 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -14,9 +14,9 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout Code Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: "3.10" - name: Install `pypa/build` diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dd07d0c17..9f1177bfe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,12 +14,12 @@ jobs: python: [3.7, 3.8, 3.9, "3.10"] steps: - name: Checkout Code Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip${{ matrix.python }}-${{ hashFiles('Pipfile') }} @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 - name: Finalise Coverage run: pip3 install --upgrade coveralls && coveralls --service=github --finish env: