diff --git a/.github/workflows/PR.yaml b/.github/workflows/PR.yaml index f442f89bf..1c1d7a41a 100644 --- a/.github/workflows/PR.yaml +++ b/.github/workflows/PR.yaml @@ -25,13 +25,13 @@ 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 - name: testsNeeded id: testsNeeded - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v3 with: filters: | testsNeeded: diff --git a/.github/workflows/Push.yaml b/.github/workflows/Push.yaml index 65576ef49..a6fa151ef 100644 --- a/.github/workflows/Push.yaml +++ b/.github/workflows/Push.yaml @@ -25,7 +25,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 10b575a8e..53a85003b 100644 --- a/.github/workflows/publishRelease.yaml +++ b/.github/workflows/publishRelease.yaml @@ -31,7 +31,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 @@ -40,7 +40,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] @@ -48,10 +48,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 - + uses: actions/checkout@v4 + - name: Download Plenum deb Artifacts from Github Action Artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: releasepr.yaml @@ -59,7 +59,7 @@ jobs: name: plenum-deb path: artifacts/plenum-deb - name: Download Plenum python Artifacts from Github Action Artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: releasepr.yaml @@ -67,24 +67,24 @@ jobs: name: plenum-python path: artifacts/plenum-python - name: Download Plenum third party dependency Artifacts from Github Action Artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} workflow: releasepr.yaml 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: plenum-deb path: artifacts/plenum-deb retention-days: 5 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: plenum-python path: artifacts/plenum-python @@ -116,24 +116,24 @@ jobs: COMPONENT: ${{ needs.release-infos.outputs.component }} UBUNTU_VERSION: ${{ needs.release-infos.outputs.UBUNTU_VERSION }} distribution: ${{ needs.release-infos.outputs.distribution }} - moduleName: plenum + moduleName: plenum secrets: INDY_ARTIFACTORY_REPO_CONFIG: ${{ secrets.INDY_ARTIFACTORY_REPO_CONFIG }} PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }} - + convertPyVersion: name: "Convert to python version flavour" needs: [release-infos, publish_artifacts] uses: hyperledger/indy-shared-gha/.github/workflows/pyVersionConversion.yaml@v1 with: VERSIONTAG: ${{ needs.release-infos.outputs.VERSIONTAG }} - + triggerNodeUpdate: runs-on: ubuntu-latest 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: hyperledger/indy-node diff --git a/.github/workflows/releasepr.yaml b/.github/workflows/releasepr.yaml index c4f04e852..a44e90992 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/reuseable_test.yaml b/.github/workflows/reuseable_test.yaml index e1b24e03d..485de6a82 100644 --- a/.github/workflows/reuseable_test.yaml +++ b/.github/workflows/reuseable_test.yaml @@ -32,10 +32,10 @@ jobs: fail-fast: false steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache pip - uses: actions/cache@v3 + uses: actions/cache@v4 with: # pip cache on the plenum-build image is not in the default location. # path: ~/.cache/pip @@ -45,7 +45,7 @@ jobs: ${{ runner.os }}-pip- - name: Download plenum deb build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: plenum-deb @@ -60,7 +60,6 @@ jobs: run: | # Explicitly use the existing pip cache location in the plenum-build image. pip --cache-dir /root/.cache/pip install .[tests] - - name: Run Indy Plenum ${{ matrix.module }} test slice ${{ matrix.slice }}/${{ strategy.job-total }} id: plenum-test @@ -78,7 +77,7 @@ jobs: - name: Upload Detailed Test Failure Results # The test runner only emits the detailed test results if the tests fail. if: (steps.plenum-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-plenum-${{ matrix.slice }}.txt @@ -98,10 +97,10 @@ jobs: fail-fast: false steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cache pip - uses: actions/cache@v3 + uses: actions/cache@v4 with: # pip cache on the plenum-build image is not in the default location. # path: ~/.cache/pip @@ -111,7 +110,7 @@ jobs: ${{ runner.os }}-pip- - name: Download plenum deb build - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: plenum-deb diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 9b5355592..ba83de9cb 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -2,7 +2,7 @@ name: Triggered by set Tag on: push: - tags: + tags: - setRelease-v** jobs: @@ -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,9 +36,9 @@ 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@v2 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Install deps for version change @@ -65,4 +65,3 @@ jobs: body: "[${{ needs.taginfos.outputs.versionTag }}] - Update Version number for Release" delete-branch: true token: ${{ secrets.BOT_PR_PAT }} - \ No newline at end of file