Skip to content

Commit b9baec6

Browse files
committed
Upgrade GHA versions
- Address warning raised while running workflows. Signed-off-by: Wade Barnes <[email protected]>
1 parent 704cf8d commit b9baec6

File tree

6 files changed

+26
-28
lines changed

6 files changed

+26
-28
lines changed

.github/workflows/PR.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
testsNeeded: ${{ steps.testsNeeded.outputs.testsNeeded }}
2626
steps:
2727
- name: checkout source code
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
- name: setup
3030
id: setup
3131
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1

.github/workflows/Push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
publish: ${{ steps.setup.outputs.publish }}
2626
steps:
2727
- name: checkout source code
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
- name: setup
3030
id: setup
3131
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1

.github/workflows/publishRelease.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
publish: ${{ steps.workflow-setup.outputs.publish }}
3232
steps:
3333
- name: checkout source code
34-
uses: actions/checkout@v3
34+
uses: actions/checkout@v4
3535
- name: get-release-info
3636
id: get-release-info
3737
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1
@@ -40,51 +40,51 @@ jobs:
4040
- name: workflow-setup
4141
id: workflow-setup
4242
uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1
43-
43+
4444
createRelease:
4545
name: Create Release
4646
needs: [release-infos]
4747
if: needs.release-infos.outputs.isVersionBump == 'true'
4848
runs-on: ubuntu-latest
4949
steps:
5050
- name: Checkout
51-
uses: actions/checkout@v3
52-
51+
uses: actions/checkout@v4
52+
5353
- name: Download Plenum deb Artifacts from Github Action Artifacts
54-
uses: dawidd6/action-download-artifact@v2
54+
uses: dawidd6/action-download-artifact@v3
5555
with:
5656
github_token: ${{ secrets.GITHUB_TOKEN }}
5757
workflow: releasepr.yaml
5858
workflow_conclusion: success
5959
name: plenum-deb
6060
path: artifacts/plenum-deb
6161
- name: Download Plenum python Artifacts from Github Action Artifacts
62-
uses: dawidd6/action-download-artifact@v2
62+
uses: dawidd6/action-download-artifact@v3
6363
with:
6464
github_token: ${{ secrets.GITHUB_TOKEN }}
6565
workflow: releasepr.yaml
6666
workflow_conclusion: success
6767
name: plenum-python
6868
path: artifacts/plenum-python
6969
- name: Download Plenum third party dependency Artifacts from Github Action Artifacts
70-
uses: dawidd6/action-download-artifact@v2
70+
uses: dawidd6/action-download-artifact@v3
7171
with:
7272
github_token: ${{ secrets.GITHUB_TOKEN }}
7373
workflow: releasepr.yaml
7474
workflow_conclusion: success
7575
name: third-party-dependencies
7676
path: artifacts/third-party-dependencies
77-
- uses: actions/upload-artifact@v3
77+
- uses: actions/upload-artifact@v4
7878
with:
7979
name: third-party-dependencies
8080
path: artifacts/third-party-dependencies
8181
retention-days: 5
82-
- uses: actions/upload-artifact@v3
82+
- uses: actions/upload-artifact@v4
8383
with:
8484
name: plenum-deb
8585
path: artifacts/plenum-deb
8686
retention-days: 5
87-
- uses: actions/upload-artifact@v3
87+
- uses: actions/upload-artifact@v4
8888
with:
8989
name: plenum-python
9090
path: artifacts/plenum-python
@@ -116,24 +116,24 @@ jobs:
116116
COMPONENT: ${{ needs.release-infos.outputs.component }}
117117
UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }}
118118
distribution: ${{ needs.release-infos.outputs.distribution }}
119-
moduleName: plenum
119+
moduleName: plenum
120120
secrets:
121121
INDY_ARTIFACTORY_REPO_CONFIG: ${{ secrets.INDY_ARTIFACTORY_REPO_CONFIG }}
122122
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
123-
123+
124124
convertPyVersion:
125125
name: "Convert to python version flavour"
126126
needs: [release-infos, publish_artifacts]
127127
uses: hyperledger/indy-shared-gha/.github/workflows/pyVersionConversion.yaml@v1
128128
with:
129129
VERSIONTAG: ${{ needs.release-infos.outputs.VERSIONTAG }}
130-
130+
131131
triggerNodeUpdate:
132132
runs-on: ubuntu-latest
133133
needs: [release-infos, publish_artifacts, convertPyVersion]
134134
steps:
135135
- name: Repository Dispatch
136-
uses: peter-evans/repository-dispatch@v2
136+
uses: peter-evans/repository-dispatch@v3
137137
with:
138138
token: ${{ secrets.BOT_PR_PAT }}
139139
repository: hyperledger/indy-node

.github/workflows/releasepr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
distribution: ${{ steps.workflow-setup.outputs.distribution }}
2424
steps:
2525
- name: checkout source code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
- name: get-release-info
2828
id: get-release-info
2929
uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1

.github/workflows/reuseable_test.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
steps:
3434
- name: Check out code
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636

3737
- name: Cache pip
3838
uses: actions/cache@v3
@@ -45,7 +45,7 @@ jobs:
4545
${{ runner.os }}-pip-
4646
4747
- name: Download plenum deb build
48-
uses: actions/download-artifact@v3
48+
uses: actions/download-artifact@v4
4949
with:
5050
name: plenum-deb
5151

@@ -60,7 +60,6 @@ jobs:
6060
run: |
6161
# Explicitly use the existing pip cache location in the plenum-build image.
6262
pip --cache-dir /root/.cache/pip install .[tests]
63-
6463
6564
- name: Run Indy Plenum ${{ matrix.module }} test slice ${{ matrix.slice }}/${{ strategy.job-total }}
6665
id: plenum-test
@@ -78,7 +77,7 @@ jobs:
7877
- name: Upload Detailed Test Failure Results
7978
# The test runner only emits the detailed test results if the tests fail.
8079
if: (steps.plenum-test.outcome == 'failure') && failure()
81-
uses: actions/upload-artifact@v3
80+
uses: actions/upload-artifact@v4
8281
with:
8382
name: detailed-test-result-slice-${{ matrix.slice }}
8483
path: test-result-plenum-${{ matrix.slice }}.txt
@@ -98,7 +97,7 @@ jobs:
9897
fail-fast: false
9998
steps:
10099
- name: Check out code
101-
uses: actions/checkout@v3
100+
uses: actions/checkout@v4
102101

103102
- name: Cache pip
104103
uses: actions/cache@v3
@@ -111,7 +110,7 @@ jobs:
111110
${{ runner.os }}-pip-
112111
113112
- name: Download plenum deb build
114-
uses: actions/download-artifact@v3
113+
uses: actions/download-artifact@v4
115114
with:
116115
name: plenum-deb
117116

.github/workflows/tag.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Triggered by set Tag
22

33
on:
44
push:
5-
tags:
5+
tags:
66
- setRelease-v**
77

88
jobs:
@@ -16,10 +16,10 @@ jobs:
1616
BASE: ${{ steps.get-branch.outputs.branch }}
1717
steps:
1818
- name: checkout source code
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22-
- name: extract branch
22+
- name: extract branch
2323
id: get-branch
2424
uses: hyperledger/indy-shared-gha/.github/actions/branch-from-tag@v1
2525
with:
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-20.04
3737
steps:
3838
- name: Check out code
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
- name: Set up Python
4141
uses: actions/setup-python@v2
4242
with:
@@ -65,4 +65,3 @@ jobs:
6565
body: "[${{ needs.taginfos.outputs.versionTag }}] - Update Version number for Release"
6666
delete-branch: true
6767
token: ${{ secrets.BOT_PR_PAT }}
68-

0 commit comments

Comments
 (0)