diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index f6d9f6f..cc6b7d3 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -20,7 +20,7 @@ jobs: os_matrix: "{\"os_version\":[\"debian11\",\"debian12\",\"ubuntu20\",\"ubuntu22\"]}" steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Lowercase repo owner id: repo_owner run: echo "lowercase=$(echo ${{ github.repository_owner }} | tr \"[:upper:]\" \"[:lower:]\")" >>$GITHUB_OUTPUT @@ -34,7 +34,7 @@ jobs: matrix: ${{ fromJson(needs.workflow_setup.outputs.os_matrix) }} steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Cache Docker layers @@ -76,7 +76,7 @@ jobs: needs: workflow_setup steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Cache Docker layers @@ -115,18 +115,18 @@ jobs: fail-fast: false steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: driver-opts: network=host - name: Download node artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: indy_node_${{ matrix.os_version }} path: /tmp - name: Download controller artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: name: indy_node_controller path: /tmp @@ -167,7 +167,7 @@ jobs: steps.ledger.outputs.n2_unreachable != 0 || steps.ledger.outputs.n3_unreachable != 0 || steps.ledger.outputs.n4_unreachable != 0 - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: core.setFailed('${{ matrix.os_version }} - Not all nodes are in sync!') - name: Send node restart command @@ -183,7 +183,7 @@ jobs: echo "::set-output name=count::$(echo "$OUTPUT" | awk -F= '$1>${{ steps.node-restart.outputs.restart-time }}' | wc -l)" - name: Fail if not all nodes restarted if: steps.nodes_restarted.outputs.count != 4 - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: core.setFailed('${{ matrix.os_version }} - Not all nodes have been restarted') @@ -203,7 +203,7 @@ jobs: matrix: ${{ fromJson(needs.workflow_setup.outputs.os_matrix) }} steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: indy-node-version id: indy-node-version shell: bash @@ -270,7 +270,7 @@ jobs: if: ${{ github.event_name != 'pull_request' }} steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Cache Docker layers diff --git a/.github/workflows/trivy-all.yml b/.github/workflows/trivy-all.yml index e16fb1f..2ae4b53 100644 --- a/.github/workflows/trivy-all.yml +++ b/.github/workflows/trivy-all.yml @@ -28,7 +28,7 @@ jobs: os_version: [ debian11, ubuntu20 ] steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: indy-node-version id: indy-node-version shell: bash