From efb22c385436213603855f014fd9e6148cb31f2e Mon Sep 17 00:00:00 2001 From: Ihor Kalnytskyi Date: Tue, 7 May 2024 14:31:22 +0300 Subject: [PATCH] Bump used gh actions There are 16 deprecation warnings generated by gh actions today. We better bump used versions to make sure things won't get broken unexpectedly. --- .github/workflows/cd.yml | 6 ++++-- .github/workflows/ci.yml | 10 ++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 63d0d5c..d09ac23 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,10 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up sources - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 + with: + python-version: "3.12" - name: Publish to PyPI env: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed50284..bd8ae76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up sources - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 + with: + python-version: "3.12" - name: Run ruff run: pipx run tox -e lint @@ -33,10 +35,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Set up sources - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }}