Skip to content

Commit 2c887bb

Browse files
authored
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)
1 parent 3297661 commit 2c887bb

File tree

13 files changed

+20
-20
lines changed

13 files changed

+20
-20
lines changed

.github/actions/build-docs/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ runs:
99
using: 'composite'
1010
steps:
1111
- name: Setup Python
12-
uses: actions/setup-python@v4
12+
uses: actions/setup-python@v5
1313
with:
1414
python-version: ${{ inputs.python-version }}
1515

.github/actions/bump-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ outputs:
2525
description: 'The previous version tag'
2626

2727
runs:
28-
using: 'node16'
28+
using: 'node20'
2929
main: 'index.js'

.github/actions/create-index-legacy/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
2828
using: 'composite'
2929
steps:
3030
- name: Set up Python
31-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
3232
with:
3333
python-version: 3.9
3434

.github/actions/create-index/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
using: 'composite'
3636
steps:
3737
- name: Set up Python
38-
uses: actions/setup-python@v4
38+
uses: actions/setup-python@v5
3939
with:
4040
python-version: 3.9
4141

.github/actions/delete-index/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ runs:
1414
using: 'composite'
1515
steps:
1616
- name: Set up Python
17-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: 3.9
2020

.github/actions/test-data-plane/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
using: 'composite'
3636
steps:
3737
- name: Set up Python
38-
uses: actions/setup-python@v4
38+
uses: actions/setup-python@v5
3939
with:
4040
python-version: 3.9
4141

.github/workflows/merge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Generate pdoc documentation
1717
uses: ./.github/actions/build-docs

.github/workflows/nightly-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
- name: Get recent changes
3232
id: list-commits
@@ -38,7 +38,7 @@ jobs:
3838
if: steps.list-commits.outputs.commits == ''
3939
uses: andymckay/[email protected]
4040

41-
- uses: actions/setup-python@v4
41+
- uses: actions/setup-python@v5
4242
with:
4343
python-version: 3.x
4444

.github/workflows/pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v4
2828
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
- name: Setup Poetry
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Checkout
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343
- name: Build docs with pdoc
4444
uses: './.github/actions/build-docs'
4545
with:

.github/workflows/publish-to-pypi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: Checkout
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4646
with:
4747
fetch-depth: 0 # Need full history and tags to compute list of commits in release
4848
ref: ${{ inputs.ref }}
@@ -72,7 +72,7 @@ jobs:
7272
fi
7373
7474
- name: Setup Python
75-
uses: actions/setup-python@v4
75+
uses: actions/setup-python@v5
7676
with:
7777
python-version: 3.x
7878

.github/workflows/testing-dependency.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- uses: actions/checkout@v4
6969

7070
- name: Set up Python ${{ matrix.python-version }}
71-
uses: actions/setup-python@v4
71+
uses: actions/setup-python@v5
7272
with:
7373
python-version: ${{ matrix.python-version }}
7474

@@ -86,7 +86,7 @@ jobs:
8686
- name: Install googleapis-common-protos ${{ matrix.googleapis-common-protos-version }}
8787
run: poetry add googleapis-common-protos==${{ matrix.googleapis-common-protos-version }}
8888

89-
- uses: nick-fields/retry@v2
89+
- uses: nick-fields/retry@v3
9090
with:
9191
timeout_minutes: 5
9292
max_attempts: 3
@@ -121,7 +121,7 @@ jobs:
121121
steps:
122122
- uses: actions/checkout@v4
123123
- name: 'Set up Python ${{ matrix.python-version }}'
124-
uses: actions/setup-python@v4
124+
uses: actions/setup-python@v5
125125
with:
126126
python-version: '${{ matrix.python-version }}'
127127
- name: Setup Poetry
@@ -131,7 +131,7 @@ jobs:
131131
include_types: false
132132
- name: 'Install urllib3 ${{ matrix.urllib3-version }}'
133133
run: 'poetry add urllib3==${{ matrix.urllib3-version }}'
134-
- uses: nick-fields/retry@v2
134+
- uses: nick-fields/retry@v3
135135
with:
136136
timeout_minutes: 5
137137
max_attempts: 3

.github/workflows/testing-integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
steps:
6262
- uses: actions/checkout@v4
6363
- name: 'Set up Python ${{ matrix.testConfig.python-version }}'
64-
uses: actions/setup-python@v4
64+
uses: actions/setup-python@v5
6565
with:
6666
python-version: '${{ matrix.testConfig.python-version }}'
6767
- name: Setup Poetry
@@ -109,7 +109,7 @@ jobs:
109109
steps:
110110
- uses: actions/checkout@v4
111111
- name: 'Set up Python ${{ matrix.testConfig.python-version }}'
112-
uses: actions/setup-python@v4
112+
uses: actions/setup-python@v5
113113
with:
114114
python-version: '${{ matrix.testConfig.python-version }}'
115115
- name: Setup Poetry

.github/workflows/testing-unit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: 'Set up Python ${{ matrix.python-version }}'
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: '${{ matrix.python-version }}'
2525
- name: Setup Poetry

0 commit comments

Comments
 (0)