Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade GitHub actions to avoid deprecated node warnings #113

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/KubernetesExternalClients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- id: 'auth'
uses: 'google-github-actions/auth@v1'
Expand Down Expand Up @@ -135,10 +135,10 @@ jobs:
go-version: '^1.18.3'

- name: Checkout to scripts
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout the go client repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-go-client
path: KubernetesExternalClients/go/clientSourceCode
Expand All @@ -163,15 +163,15 @@ jobs:

steps:
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Checkout to scripts
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout the Python client repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-python-client
path: KubernetesExternalClients/python/clientSourceCode
Expand Down Expand Up @@ -201,10 +201,10 @@ jobs:
node-version: 14

- name: Checkout to scripts
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout the Nodejs client repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-nodejs-client
path: KubernetesExternalClients/nodejs/clientSourceCode
Expand Down Expand Up @@ -233,10 +233,10 @@ jobs:
dotnet-version: |
8.0.x
- name: Checkout to scripts
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout the Csharp client repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-csharp-client
path: KubernetesExternalClients/csharp/clientSourceCode
Expand All @@ -263,10 +263,10 @@ jobs:

steps:
- name: Checkout to scripts
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout the Cpp client repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-cpp-client
path: KubernetesExternalClients/cpp/clientSourceCode
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/KubernetesInternalClients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
if: ${{ github.event.inputs.csharp_run != 'no' }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout the client repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-csharp-client
path: KubernetesInternalClients/csharp/clientSourceCode
Expand Down Expand Up @@ -72,10 +72,10 @@ jobs:
if: ${{ github.event.inputs.python_run != 'no' }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout the client repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-python-client
path: KubernetesInternalClients/python/clientSourceCode
Expand All @@ -95,10 +95,10 @@ jobs:
if: ${{ github.event.inputs.nodejs_run != 'no' }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout the client repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-nodejs-client
path: KubernetesInternalClients/nodejs/clientSourceCode
Expand All @@ -124,10 +124,10 @@ jobs:
if: ${{ github.event.inputs.cpp_run != 'no' }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout the client repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-cpp-client
path: KubernetesInternalClients/cpp/clientSourceCode
Expand All @@ -147,7 +147,7 @@ jobs:
if: ${{ github.event.inputs.go_run != 'no' }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Give the branch name to go.mod file
run: |
Expand All @@ -173,7 +173,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set which client will be run
id: set-matrix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cloud_csharp_client_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand All @@ -52,7 +52,7 @@ jobs:
8.0.x

- name: Checkout .NET client branch ${{ github.event.inputs.branch_name }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-csharp-client
path: client
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cloud_go_client_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cloud_nodejs_client_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand All @@ -42,7 +42,7 @@ jobs:
distribution: ${{ env.JAVA_DISTRIBUTION }}

- name: Checkout to ${{ github.event.inputs.branch_name }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-nodejs-client
path: client
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cloud_python_client_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand All @@ -42,7 +42,7 @@ jobs:
distribution: ${{ env.JAVA_DISTRIBUTION }}

- name: Checkout to ${{ github.event.inputs.branch_name }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-python-client
path: client
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cpp_client_compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Checkout to scripts
Expand Down Expand Up @@ -53,15 +53,15 @@ jobs:

- name: Checkout to test artifacts
if: ${{ matrix.kind == 'enterprise' }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: hazelcast/private-test-artifacts
path: certs
ref: data
token: ${{ secrets.GH_PAT }}

- name: Checkout the ${{ github.event.inputs.branch_name }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-cpp-client
path: client
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/csharp_client_compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Checkout to scripts
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set server matrix
id: set-matrix
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
distribution: ${{ steps.java-config.outputs['distribution'] }}

- name: Checkout to ${{ github.event.inputs.branch_name }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-csharp-client
path: client
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go_client_compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Checkout to scripts
Expand Down Expand Up @@ -54,15 +54,15 @@ jobs:
go-version: '1.18'

- name: Checkout to test artifacts
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: hazelcast/private-test-artifacts
path: certs
ref: data
token: ${{ secrets.GH_PAT }}

- name: Checkout the ${{ github.event.inputs.branch_name }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-go-client
path: client
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/nodejs_client_compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Checkout to scripts
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set server matrix
id: set-matrix
run: echo "::set-output name=matrix::$( python get_server_matrix.py )"
Expand All @@ -42,14 +42,14 @@ jobs:
uses: actions/checkout@v4
- name: Checkout to test artifacts
if: ${{ matrix.kind == 'enterprise' }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: hazelcast/private-test-artifacts
path: certs
ref: data
token: ${{ secrets.GH_PAT }}
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Setup Node.js
Expand All @@ -70,13 +70,13 @@ jobs:
run: |
cp $GITHUB_WORKSPACE/certs/certs.jar $GITHUB_WORKSPACE/jars/hazelcast-enterprise-${{ matrix.version }}-tests.jar
- name: Checkout to master
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-nodejs-client
path: master
ref: master
- name: Checkout to ${{ github.event.inputs.branch_name }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-nodejs-client
path: client
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/python_client_compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Checkout to scripts
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set server matrix
id: set-matrix
run: echo "::set-output name=matrix::$( python get_server_matrix.py )"
Expand All @@ -42,14 +42,14 @@ jobs:
uses: actions/checkout@v4
- name: Checkout to test artifacts
if: ${{ matrix.kind == 'enterprise' }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: hazelcast/private-test-artifacts
path: certs
ref: data
token: ${{ secrets.GH_PAT }}
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Read Java Config
Expand All @@ -66,13 +66,13 @@ jobs:
run: |
cp $GITHUB_WORKSPACE/certs/certs.jar $GITHUB_WORKSPACE/jars/hazelcast-enterprise-${{ matrix.version }}-tests.jar
- name: Checkout to master
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-python-client
path: master
ref: master
- name: Checkout to ${{ github.event.inputs.branch_name }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.organization_name }}/hazelcast-python-client
path: client
Expand Down
Loading