From 09901347941fd2ce528fe995a17774d8276147d2 Mon Sep 17 00:00:00 2001 From: Dmitry Volodin Date: Mon, 18 Mar 2024 13:26:41 +0100 Subject: [PATCH] Bump github actions' versions --- .github/workflows/build-docs.yml | 4 ++-- .github/workflows/package.yml | 12 ++++++------ .github/workflows/tests.yml | 14 +++++++------- .requirements/test.txt | 1 - tests/test_ci.py | 6 +++--- 5 files changed, 18 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index b4764bf..d7e5666 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -21,11 +21,11 @@ jobs: steps: # Checkout source code - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Cache dependencies - name: Cache Dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./.pip key: ${{ runner.os }}-docs-${{ hashFiles('./.requirements/docs.txt') }} diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 704a37a..99aae00 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set Up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" @@ -48,7 +48,7 @@ jobs: target: x86_64-unknown-linux-gnu steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build wheels run: > @@ -82,7 +82,7 @@ jobs: # platform: linux/arm64 steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU if: matrix.arch != 'x86_64' @@ -125,7 +125,7 @@ jobs: # # platform: linux/arm64 # steps: # - name: Checkout Repo - # uses: actions/checkout@v3 + # uses: actions/checkout@v4 # - name: Set up QEMU # if: matrix.arch != 'x86_64' @@ -167,7 +167,7 @@ jobs: # # platform: macosx # steps: # - name: Checkout Repo - # uses: actions/checkout@v3 + # uses: actions/checkout@v4 # - name: Build Packages # uses: pypa/cibuildwheel@v2.11.2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ed8367a..d3a1634 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,16 +24,16 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set Up Python {{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" # Cache dependencies - name: Cache Dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./.pip key: ${{ runner.os }}-tests-3.10-${{ hashFiles('./.requirements/lint.txt') }} @@ -65,7 +65,7 @@ jobs: echo "${HOME}/.cargo/bin" >> $GITHUB_PATH - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Rust run: ./tools/build/setup-rust.sh @@ -105,16 +105,16 @@ jobs: echo "${HOME}/.cargo/bin" >> $GITHUB_PATH - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set Up Python {{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} # Cache dependencies - name: Cache Dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./.pip key: ${{ runner.os }}-tests-{{ matrix.python-version }}-${{ hashFiles('./.requirements/build.txt') }}-${{ hashFiles('./.requirements/test.txt') }} diff --git a/.requirements/test.txt b/.requirements/test.txt index 53babc8..19c192d 100644 --- a/.requirements/test.txt +++ b/.requirements/test.txt @@ -2,5 +2,4 @@ pytest==7.4.3 coverage[toml]==7.3.2 PyYAML>=6.0 -pytest-benchmark==4.0.0 diff --git a/tests/test_ci.py b/tests/test_ci.py index 5e6e186..2993ab5 100644 --- a/tests/test_ci.py +++ b/tests/test_ci.py @@ -24,9 +24,9 @@ def _get_root() -> str: VERSIONS = [ - "actions/cache@v3", - "actions/checkout@v3", - "actions/setup-python@v4", + "actions/cache@v4", + "actions/checkout@v4", + "actions/setup-python@v5", "pypa/gh-action-pypi-publish@release/v1", ]