From e238b296750b82808524c2dedbedc42e8bd62056 Mon Sep 17 00:00:00 2001 From: lukaszcl <120112546+lukaszcl@users.noreply.github.com> Date: Mon, 22 Apr 2024 13:05:57 +0200 Subject: [PATCH] Fixes --- .../actions/build-chainlink-image/action.yml | 2 +- .github/workflows/integration-tests.yml | 27 ++++++++++--------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/actions/build-chainlink-image/action.yml b/.github/actions/build-chainlink-image/action.yml index cb2f03f054a..bd5ffe6403d 100644 --- a/.github/actions/build-chainlink-image/action.yml +++ b/.github/actions/build-chainlink-image/action.yml @@ -33,7 +33,7 @@ runs: AWS_ROLE_TO_ASSUME: ${{ inputs.AWS_ROLE_TO_ASSUME }} - name: Build Image if: steps.check-image.outputs.exists != 'true' - uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/build-image@519851800779323566b7b7c22cc21bff95dbb639 + uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/build-image@519851800779323566b7b7c22cc21bff95dbb639 # v2.3.14 with: cl_repo: smartcontractkit/chainlink cl_ref: ${{ inputs.git_commit_sha }} diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 42e8c430f89..7ec4b00471e 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -396,9 +396,9 @@ jobs: go_coverage_dest_dir: ${{ github.workspace }}/.covdata - name: Upload Coverage Data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: cl-node-coverage-data + name: cl-node-coverage-data-${{ matrix.product.name }} path: .covdata retention-days: 1 @@ -498,9 +498,9 @@ jobs: go_coverage_dest_dir: ${{ github.workspace }}/.covdata - name: Upload Coverage Data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: cl-node-coverage-data + name: cl-node-coverage-data-${{ matrix.product.name }} path: .covdata retention-days: 1 @@ -709,9 +709,9 @@ jobs: go_coverage_dest_dir: ${{ github.workspace }}/.covdata - name: Upload Coverage Data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: cl-node-coverage-data + name: cl-node-coverage-data-${{ matrix.product.name }}-${{ matrix.product.tag_suffix }} path: .covdata retention-days: 1 @@ -819,10 +819,13 @@ jobs: repository: smartcontractkit/chainlink ref: ${{ inputs.cl_ref || github.event.pull_request.head.sha || github.event.merge_group.head_sha }} - name: Download All Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: cl-node-coverage-data path: cl-node-coverage-data + pattern: cl-node-coverage-data-* + merge-multiple: true + - name: List all files and directories + run: ls -R - name: Show Coverage run: go run ./integration-tests/scripts/show_coverage.go "${{ github.workspace }}/cl-node-coverage-data/*/merged" @@ -919,9 +922,9 @@ jobs: go_coverage_src_dir: /var/tmp/go-coverage go_coverage_dest_dir: ${{ github.workspace }}/.covdata - name: Upload Coverage Data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: cl-node-coverage-data + name: cl-node-coverage-data-migration-tests path: .covdata retention-days: 1 @@ -1229,9 +1232,9 @@ jobs: go_coverage_dest_dir: ${{ github.workspace }}/.covdata - name: Upload Coverage Data - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: cl-node-coverage-data + name: cl-node-coverage-data-solana-tests path: .covdata retention-days: 1