Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/create-lines-of-code-report/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
run: zip lines-of-code-report.json.zip lines-of-code-report.json
- name: "Upload CLOC report as an artefact"
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: lines-of-code-report.json.zip
path: ./lines-of-code-report.json.zip
Expand All @@ -44,7 +44,7 @@ runs:
# echo "secrets_exist=${{ inputs.idp_aws_report_upload_role_name != '' && inputs.idp_aws_report_upload_bucket_endpoint != '' }}" >> $GITHUB_OUTPUT
# - name: "Authenticate to send the report"
# if: steps.check.outputs.secrets_exist == 'true'
# uses: aws-actions/configure-aws-credentials@v2
# uses: aws-actions/configure-aws-credentials@v6
# with:
# role-to-assume: arn:aws:iam::${{ inputs.idp_aws_report_upload_account_id }}:role/${{ inputs.idp_aws_report_upload_role_name }}
# aws-region: ${{ inputs.idp_aws_report_upload_region }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
path: "code-for-app"

- name: "Configure AWS credentials"
uses: aws-actions/configure-aws-credentials@v5
uses: aws-actions/configure-aws-credentials@v6
with:
role-session-name: GitHubActionsSession
role-to-assume: ${{ inputs.secret_aws_iam_role }}
Expand All @@ -46,7 +46,7 @@ runs:
echo "terraform_version=$(grep "^terraform" .tool-versions | cut -f2 -d' ')" >> $GITHUB_OUTPUT

- name: "Install Terraform version"
uses: hashicorp/setup-terraform@v3
uses: hashicorp/setup-terraform@v4
with:
terraform_version: "${{ steps.identify-terraform-version.outputs.terraform_version }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/lint-terraform/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
echo "terraform_version=$(grep "^terraform" .tool-versions | cut -f2 -d' ')" >> $GITHUB_OUTPUT
- name: "Install Terraform"
uses: hashicorp/setup-terraform@v3
uses: hashicorp/setup-terraform@v4
with:
terraform_version: "${{ steps.identify-terraform-version.outputs.terraform_version }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/run-contract-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
node-version: ${{ steps.variables.outputs.nodejs_version }}

- name: "Cache node modules"
uses: actions/cache@v4
uses: actions/cache@v5
env:
cache-name: cache-node-modules
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/run-e2e-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:

- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
uses: actions/cache@v5
env:
cache-name: cache-node-modules
with:
Expand Down Expand Up @@ -62,7 +62,7 @@ runs:
exit $EXIT_STATUS

- name: Cache Playwright browsers
uses: actions/cache@v4
uses: actions/cache@v5
id: playwright-cache
with:
path: ~/.cache/ms-playwright
Expand Down Expand Up @@ -109,7 +109,7 @@ runs:
exit $EXIT_STATUS

- name: Upload report
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: playwright-report-e2e-${{ inputs.checkout_ref }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/run-nbs-e2e-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ runs:

- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
uses: actions/cache@v5
env:
cache-name: cache-node-modules
with:
Expand Down Expand Up @@ -59,7 +59,7 @@ runs:
exit $EXIT_STATUS

- name: Cache Playwright browsers
uses: actions/cache@v4
uses: actions/cache@v5
id: playwright-cache
with:
path: ~/.cache/ms-playwright
Expand Down Expand Up @@ -94,7 +94,7 @@ runs:
npm run e2e:nbs

- name: Upload report
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: playwright-report-nbs-e2e-${{ inputs.checkout_ref }}
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/run-snapshot-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ runs:
node-version: ${{ steps.variables.outputs.nodejs_version }}

- name: "Configure AWS credentials"
uses: aws-actions/configure-aws-credentials@v5
uses: aws-actions/configure-aws-credentials@v6
with:
role-session-name: GitHubActionsSession
role-to-assume: ${{ env.SECRET_IAM_ROLE }}
aws-region: eu-west-2

- name: "Cache node modules"
id: cache-npm
uses: actions/cache@v4
uses: actions/cache@v5
env:
cache-name: cache-node-modules
with:
Expand Down Expand Up @@ -76,7 +76,7 @@ runs:
echo "::endgroup::"

- name: "Cache Playwright browsers"
uses: actions/cache@v4
uses: actions/cache@v5
id: playwright-cache
with:
path: ~/.cache/ms-playwright
Expand Down Expand Up @@ -126,7 +126,7 @@ runs:
aws s3 sync --delete ./e2e/snapshot/snapshot_review/ s3://${{ env.AWS_S3_ARTEFACTS_BUCKET }}/playwright/snapshots-for-review/${{ inputs.release_name }}/${{ steps.folder_name_value.outputs.current_datetime }}-${{ inputs.checkout_ref }}/

- name: "Upload report"
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
if: ${{ failure() }}
with:
name: playwright-report-snapshot-${{ inputs.release_name }}-${{ steps.folder_name_value.outputs.current_datetime }}-${{ inputs.checkout_ref }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/scan-dependencies/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
run: zip sbom-repository-report.json.zip sbom-repository-report.json
- name: "Upload SBOM report as an artefact"
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: sbom-repository-report.json.zip
path: ./sbom-repository-report.json.zip
Expand All @@ -47,7 +47,7 @@ runs:
run: zip vulnerabilities-repository-report.json.zip vulnerabilities-repository-report.json
- name: "Upload vulnerabilities report as an artefact"
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: vulnerabilities-repository-report.json.zip
path: ./vulnerabilities-repository-report.json.zip
Expand All @@ -58,7 +58,7 @@ runs:
# run: echo "secrets_exist=${{ inputs.idp_aws_report_upload_role_name != '' && inputs.idp_aws_report_upload_bucket_endpoint != '' }}" >> $GITHUB_OUTPUT
# - name: "Authenticate to send the reports"
# if: steps.check.outputs.secrets_exist == 'true'
# uses: aws-actions/configure-aws-credentials@v2
# uses: aws-actions/configure-aws-credentials@v6
# with:
# role-to-assume: arn:aws:iam::${{ inputs.idp_aws_report_upload_account_id }}:role/${{ inputs.idp_aws_report_upload_role_name }}
# aws-region: ${{ inputs.idp_aws_report_upload_region }}
Expand Down