diff --git a/.github/workflows/behat-test.yml b/.github/workflows/behat-test.yml index 58ba0562b1..cd52742be9 100644 --- a/.github/workflows/behat-test.yml +++ b/.github/workflows/behat-test.yml @@ -171,7 +171,7 @@ jobs: run: find ./acceptance-logs -type f | grep '.txt' | xargs -r more | cat shell: bash - - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: failure() name: Upload acceptance test logs with: @@ -181,7 +181,7 @@ jobs: - name: Upload Test Results if: failure() - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ${{ inputs.name }}-${{ inputs.os }}-test-reports-${{ steps.feature-path.outputs.feature_name_with_dash }} path: xunit-reports @@ -217,7 +217,7 @@ jobs: type_of_report: [test-logs, test-reports] steps: - name: Merge Artifacts - uses: actions/upload-artifact/merge@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 + uses: actions/upload-artifact/merge@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: ${{ contains(needs.behat-test-run.result, 'failure') }} with: name: ${{ inputs.name }}-${{ inputs.os }}-${{ matrix.type_of_report }} diff --git a/.github/workflows/cypress-component-parallelization.yml b/.github/workflows/cypress-component-parallelization.yml index 6c12ec9d8c..07e62aa5cc 100644 --- a/.github/workflows/cypress-component-parallelization.yml +++ b/.github/workflows/cypress-component-parallelization.yml @@ -110,7 +110,7 @@ jobs: run: node centreon/packages/js-config/cypress/component/excludeNodeModulesFromCoverage.js ${{ inputs.module_name }}/.nyc_output/out.json - name: Archive test results - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: ${{ failure() }} with: name: ${{ inputs.name }}-component-test-results-${{ matrix.spec }} @@ -122,7 +122,7 @@ jobs: - name: Archive test reports if: ${{ failure() }} - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ${{ inputs.name }}-component-test-reports-${{ matrix.spec }} path: ${{ inputs.module_name }}/cypress/results/*.json @@ -133,7 +133,7 @@ jobs: shell: bash - name: Archive test coverage - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ${{ inputs.name }}-component-test-coverage-${{ matrix.spec }} path: ${{ inputs.module_name }}/.nyc_output/${{ matrix.spec }}-out.json @@ -194,7 +194,7 @@ jobs: shell: bash - name: Archive HTML code coverage - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ${{ steps.title.outputs.replaced }}-${{ inputs.name }}-code-coverage path: coverage/lcov-report @@ -267,7 +267,7 @@ jobs: type_of_report: [test-results, test-reports, test-coverage] steps: - name: Merge Artifacts - uses: actions/upload-artifact/merge@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 + uses: actions/upload-artifact/merge@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: | (needs.cypress-component-test-run.result == 'failure' && contains(fromJson('["test-results", "test-reports"]'), matrix.type_of_report)) || matrix.type_of_report == 'test-coverage' diff --git a/.github/workflows/cypress-e2e-parallelization.yml b/.github/workflows/cypress-e2e-parallelization.yml index afdec00f84..a1ecc5027e 100644 --- a/.github/workflows/cypress-e2e-parallelization.yml +++ b/.github/workflows/cypress-e2e-parallelization.yml @@ -200,7 +200,7 @@ jobs: - name: Upload test results if: failure() - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ${{ inputs.name }}-${{ inputs.os }}-test-results-${{ steps.feature-path.outputs.feature_name_with_dash }} path: ${{ inputs.module_name }}/tests/e2e/results/ @@ -220,7 +220,7 @@ jobs: - name: Upload test reports if: ${{ ! cancelled() }} - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ${{ inputs.name }}-${{ inputs.os }}-test-reports-${{ steps.feature-path.outputs.feature_name_with_dash }} path: ${{ inputs.module_name }}/tests/e2e/results/reports/*.json @@ -228,7 +228,7 @@ jobs: - name: Upload xray reports if: ${{ ! cancelled() }} - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: ${{ inputs.name }}-${{ inputs.os }}-xray-reports-${{ steps.feature-path.outputs.feature_name_with_dash }} path: ${{ inputs.module_name }}/tests/e2e/results/cucumber-logs/*.json @@ -353,7 +353,7 @@ jobs: type_of_report: [test-results, test-reports, xray-reports] steps: - name: Merge Artifacts - uses: actions/upload-artifact/merge@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0 + uses: actions/upload-artifact/merge@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: ${{ ( contains(needs.cypress-e2e-test-run.result, 'failure') && ( matrix.type_of_report == 'test-results' || matrix.type_of_report == 'test-reports' ) ) || matrix.type_of_report == 'xray-reports' }} with: name: ${{ inputs.name }}-${{ inputs.os }}-${{ matrix.type_of_report }} diff --git a/.github/workflows/newman.yml b/.github/workflows/newman.yml index fc820a51bf..04d4cbc41b 100644 --- a/.github/workflows/newman.yml +++ b/.github/workflows/newman.yml @@ -508,14 +508,14 @@ jobs: - name: Upload HTML Reports if: failure() - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: newman-${{ inputs.os }}-html-reports-${{ steps.feature-path.outputs.feature_name_with_dash }} path: centreon/tests/rest_api/newman/ - name: Upload test reports if: always() - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: newman-${{ inputs.os }}-test-reports-${{ steps.feature-path.outputs.feature_name_with_dash }} path: centreon/tests/rest_api/postman_summaries/*.json @@ -791,7 +791,7 @@ jobs: steps: - name: Merge Artifacts - uses: actions/upload-artifact/merge@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 + uses: actions/upload-artifact/merge@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 if: ${{ contains(needs.newman-test-run.result, 'failure') }} with: name: newman-${{ inputs.os }}-html-reports