From 2953c8f812a4bfef812e89e8ae2dacefb26d28bf Mon Sep 17 00:00:00 2001 From: Wade Barnes Date: Wed, 7 Feb 2024 06:52:56 -0800 Subject: [PATCH] Upgrade GHA versions - Address warning raised while running workflows. Signed-off-by: Wade Barnes --- .github/actions/getNewNodeVersion/action.yaml | 6 +++--- .github/workflows/PR.yaml | 2 +- .github/workflows/Push.yaml | 2 +- .github/workflows/publishRelease.yaml | 20 +++++++++---------- .github/workflows/releasepr.yaml | 2 +- ...poDispatchable_UpdatePlenumDependency.yaml | 2 +- .github/workflows/reuseable_test.yaml | 6 +++--- .github/workflows/tag.yaml | 6 +++--- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/actions/getNewNodeVersion/action.yaml b/.github/actions/getNewNodeVersion/action.yaml index bd9f08fe3..160019a5d 100644 --- a/.github/actions/getNewNodeVersion/action.yaml +++ b/.github/actions/getNewNodeVersion/action.yaml @@ -8,14 +8,14 @@ inputs: default: "true" outputs: - nodeVersion: + nodeVersion: description: "The new Version. (Bumped Patch by 1)" value: ${{ steps.versions.outputs.nodeVersion }} runs: using: "composite" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v3 with: @@ -28,7 +28,7 @@ runs: minor=$(python3 -c "from indy_node import load_version; patch = load_version().parts[1]; print('' if patch is None else patch)") patch=$(python3 -c "from indy_node import load_version; patch = load_version().parts[2]; patch+=1; print('' if patch is None else patch)") if [[ "${{ inputs.isRC }}" == "true" ]]; then - export nodeVersion="${major}.${minor}.${patch}rc1" + export nodeVersion="${major}.${minor}.${patch}rc1" else export nodeVersion="${major}.${minor}.${patch}" fi diff --git a/.github/workflows/PR.yaml b/.github/workflows/PR.yaml index 3368a68fd..ba7990613 100644 --- a/.github/workflows/PR.yaml +++ b/.github/workflows/PR.yaml @@ -27,7 +27,7 @@ jobs: testsNeeded: ${{ steps.testsNeeded.outputs.testsNeeded }} steps: - name: checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup id: setup uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1 diff --git a/.github/workflows/Push.yaml b/.github/workflows/Push.yaml index 615ec9038..ba6d6c00d 100644 --- a/.github/workflows/Push.yaml +++ b/.github/workflows/Push.yaml @@ -26,7 +26,7 @@ jobs: publish: ${{ steps.setup.outputs.publish }} steps: - name: checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup id: setup uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1 diff --git a/.github/workflows/publishRelease.yaml b/.github/workflows/publishRelease.yaml index f86de44c8..676cad1ee 100644 --- a/.github/workflows/publishRelease.yaml +++ b/.github/workflows/publishRelease.yaml @@ -30,7 +30,7 @@ jobs: publish: ${{ steps.workflow-setup.outputs.publish }} steps: - name: checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: get-release-info id: get-release-info uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1 @@ -39,7 +39,7 @@ jobs: - name: workflow-setup id: workflow-setup uses: hyperledger/indy-shared-gha/.github/actions/workflow-setup@v1 - + createRelease: name: Create Release needs: [release-infos] @@ -47,8 +47,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 - + uses: actions/checkout@v4 + - name: Download Node deb Artifacts from Github Action Artifacts uses: dawidd6/action-download-artifact@v2 with: @@ -73,17 +73,17 @@ jobs: workflow_conclusion: success name: third-party-dependencies path: artifacts/third-party-dependencies - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: third-party-dependencies path: artifacts/third-party-dependencies retention-days: 5 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: indy_node-deb path: artifacts/indy_node-deb retention-days: 5 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: indy_node-python path: artifacts/indy_node-python @@ -115,7 +115,7 @@ jobs: COMPONENT: ${{ needs.release-infos.outputs.component }} UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }} distribution: ${{ needs.release-infos.outputs.distribution }} - moduleName: indy_node + moduleName: indy_node secrets: INDY_ARTIFACTORY_REPO_CONFIG: ${{ secrets.INDY_ARTIFACTORY_REPO_CONFIG }} PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }} @@ -132,7 +132,7 @@ jobs: needs: [release-infos, publish_artifacts, convertPyVersion] steps: - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ secrets.BOT_PR_PAT }} repository: sovrin-foundation/sovrin @@ -144,7 +144,7 @@ jobs: needs: [release-infos, publish_artifacts, convertPyVersion] steps: - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ secrets.BOT_PR_PAT }} repository: sovrin-foundation/token-plugin diff --git a/.github/workflows/releasepr.yaml b/.github/workflows/releasepr.yaml index 1e3db0bb7..80fc1ece5 100644 --- a/.github/workflows/releasepr.yaml +++ b/.github/workflows/releasepr.yaml @@ -23,7 +23,7 @@ jobs: distribution: ${{ steps.workflow-setup.outputs.distribution }} steps: - name: checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: get-release-info id: get-release-info uses: hyperledger/indy-shared-gha/.github/actions/get-release-info@v1 diff --git a/.github/workflows/repoDispatchable_UpdatePlenumDependency.yaml b/.github/workflows/repoDispatchable_UpdatePlenumDependency.yaml index d9ce6257e..d0f870936 100644 --- a/.github/workflows/repoDispatchable_UpdatePlenumDependency.yaml +++ b/.github/workflows/repoDispatchable_UpdatePlenumDependency.yaml @@ -8,7 +8,7 @@ jobs: update-setup: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Update indy-plenum to ${{ github.event.client_payload.pyVersion }} run: | sed -i "s/\(indy-plenum==\)[^ ]*/\1${{ github.event.client_payload.pyVersion }},/g" setup.py diff --git a/.github/workflows/reuseable_test.yaml b/.github/workflows/reuseable_test.yaml index 0c6e3879c..a378f1ec5 100644 --- a/.github/workflows/reuseable_test.yaml +++ b/.github/workflows/reuseable_test.yaml @@ -29,7 +29,7 @@ jobs: fail-fast: false steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 # =============================================== # Caching cannot be used. @@ -47,7 +47,7 @@ jobs: # restore-keys: | # ${{ runner.os }}-indy-node-pip- - name: Download node deb - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: indy_node-deb @@ -90,7 +90,7 @@ jobs: - name: Upload Detailed Test Failure Results # The test runner only emits the detailed test results if the tests fail. if: (steps.node-test.outcome == 'failure') && failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: detailed-test-result-slice-${{ matrix.slice }} path: test-result-node-${{ matrix.slice }}.txt diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index b77d6eba0..8fb05b76e 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -16,10 +16,10 @@ jobs: BASE: ${{ steps.get-branch.outputs.branch }} steps: - name: checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: extract branch + - name: extract branch id: get-branch uses: hyperledger/indy-shared-gha/.github/actions/branch-from-tag@v1 with: @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v3 with: