From 2c887bb21dc8a9c48392fac5dcc406b6464bb789 Mon Sep 17 00:00:00 2001 From: Jennifer Hamon Date: Wed, 7 Feb 2024 13:55:09 -0500 Subject: [PATCH] Update github actions dependencies to fix warnings (#308) ## Problem Our test runs produce a large number of warnings related to deprecated node16 usage. ![Screenshot 2024-02-07 at 10 52 25 AM](https://github.com/pinecone-io/pinecone-python-client/assets/1326365/299eeff5-961b-4804-b918-fa9657726f85) ## Solution Update the version of the shared tasks we are using. ## Type of Change - [x] Infrastructure change (CI configs, etc) --- .github/actions/build-docs/action.yml | 2 +- .github/actions/bump-version/action.yml | 2 +- .github/actions/create-index-legacy/action.yml | 2 +- .github/actions/create-index/action.yml | 2 +- .github/actions/delete-index/action.yml | 2 +- .github/actions/test-data-plane/action.yaml | 2 +- .github/workflows/merge.yaml | 2 +- .github/workflows/nightly-release.yaml | 4 ++-- .github/workflows/pr.yaml | 4 ++-- .github/workflows/publish-to-pypi.yaml | 4 ++-- .github/workflows/testing-dependency.yaml | 8 ++++---- .github/workflows/testing-integration.yaml | 4 ++-- .github/workflows/testing-unit.yaml | 2 +- 13 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/actions/build-docs/action.yml b/.github/actions/build-docs/action.yml index ae6e79de..c1ba4e73 100644 --- a/.github/actions/build-docs/action.yml +++ b/.github/actions/build-docs/action.yml @@ -9,7 +9,7 @@ runs: using: 'composite' steps: - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} diff --git a/.github/actions/bump-version/action.yml b/.github/actions/bump-version/action.yml index 06ef26d3..b04326df 100644 --- a/.github/actions/bump-version/action.yml +++ b/.github/actions/bump-version/action.yml @@ -25,5 +25,5 @@ outputs: description: 'The previous version tag' runs: - using: 'node16' + using: 'node20' main: 'index.js' diff --git a/.github/actions/create-index-legacy/action.yml b/.github/actions/create-index-legacy/action.yml index 2b99094f..8bfc9500 100644 --- a/.github/actions/create-index-legacy/action.yml +++ b/.github/actions/create-index-legacy/action.yml @@ -28,7 +28,7 @@ runs: using: 'composite' steps: - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 diff --git a/.github/actions/create-index/action.yml b/.github/actions/create-index/action.yml index 79b061d9..b81dc1b9 100644 --- a/.github/actions/create-index/action.yml +++ b/.github/actions/create-index/action.yml @@ -35,7 +35,7 @@ runs: using: 'composite' steps: - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 diff --git a/.github/actions/delete-index/action.yml b/.github/actions/delete-index/action.yml index 2146ae6a..358fb483 100644 --- a/.github/actions/delete-index/action.yml +++ b/.github/actions/delete-index/action.yml @@ -14,7 +14,7 @@ runs: using: 'composite' steps: - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 diff --git a/.github/actions/test-data-plane/action.yaml b/.github/actions/test-data-plane/action.yaml index e04ed874..964f8927 100644 --- a/.github/actions/test-data-plane/action.yaml +++ b/.github/actions/test-data-plane/action.yaml @@ -35,7 +35,7 @@ runs: using: 'composite' steps: - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml index 8c2fdccc..a2100b49 100644 --- a/.github/workflows/merge.yaml +++ b/.github/workflows/merge.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate pdoc documentation uses: ./.github/actions/build-docs diff --git a/.github/workflows/nightly-release.yaml b/.github/workflows/nightly-release.yaml index 1a952ca4..ec0f6bd2 100644 --- a/.github/workflows/nightly-release.yaml +++ b/.github/workflows/nightly-release.yaml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get recent changes id: list-commits @@ -38,7 +38,7 @@ jobs: if: steps.list-commits.outputs.commits == '' uses: andymckay/cancel-action@0.3 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 8742622d..9880064b 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -26,7 +26,7 @@ jobs: steps: - 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 }} - name: Setup Poetry @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build docs with pdoc uses: './.github/actions/build-docs' with: diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index 93938ffc..c94491de 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -42,7 +42,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Need full history and tags to compute list of commits in release ref: ${{ inputs.ref }} @@ -72,7 +72,7 @@ jobs: fi - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.x diff --git a/.github/workflows/testing-dependency.yaml b/.github/workflows/testing-dependency.yaml index 05ccd742..11422efa 100644 --- a/.github/workflows/testing-dependency.yaml +++ b/.github/workflows/testing-dependency.yaml @@ -68,7 +68,7 @@ jobs: - 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 }} @@ -86,7 +86,7 @@ jobs: - name: Install googleapis-common-protos ${{ matrix.googleapis-common-protos-version }} run: poetry add googleapis-common-protos==${{ matrix.googleapis-common-protos-version }} - - uses: nick-fields/retry@v2 + - uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 3 @@ -121,7 +121,7 @@ jobs: steps: - 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 }}' - name: Setup Poetry @@ -131,7 +131,7 @@ jobs: include_types: false - name: 'Install urllib3 ${{ matrix.urllib3-version }}' run: 'poetry add urllib3==${{ matrix.urllib3-version }}' - - uses: nick-fields/retry@v2 + - uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 3 diff --git a/.github/workflows/testing-integration.yaml b/.github/workflows/testing-integration.yaml index acc2a972..16675f0a 100644 --- a/.github/workflows/testing-integration.yaml +++ b/.github/workflows/testing-integration.yaml @@ -61,7 +61,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: 'Set up Python ${{ matrix.testConfig.python-version }}' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '${{ matrix.testConfig.python-version }}' - name: Setup Poetry @@ -109,7 +109,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: 'Set up Python ${{ matrix.testConfig.python-version }}' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '${{ matrix.testConfig.python-version }}' - name: Setup Poetry diff --git a/.github/workflows/testing-unit.yaml b/.github/workflows/testing-unit.yaml index f8026409..156f7e27 100644 --- a/.github/workflows/testing-unit.yaml +++ b/.github/workflows/testing-unit.yaml @@ -19,7 +19,7 @@ jobs: steps: - 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 }}' - name: Setup Poetry