From 11dca1d04bc118bc3f01b3c5e08fece27dccf96b Mon Sep 17 00:00:00 2001 From: Amardeep Chimber Date: Thu, 19 Dec 2024 08:58:46 +0000 Subject: [PATCH] MAN-227 - use v2 of the workflow --- .github/workflows/pipeline.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 5da4a0b3..082b7061 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -36,13 +36,13 @@ jobs: # generic node unit tests - feel free to override with local tests if required node_unit_tests: name: node unit tests - uses: ministryofjustice/hmpps-github-actions/.github/workflows/node_unit_tests.yml@v1 # WORKFLOW_VERSION + uses: ministryofjustice/hmpps-github-actions/.github/workflows/node_unit_tests.yml@v2 # WORKFLOW_VERSION needs: [node_build] secrets: inherit # generic node integration tests using wiremock - feel free to override with local tests if required node_integration_tests: name: node integration tests - uses: ministryofjustice/hmpps-github-actions/.github/workflows/node_integration_tests.yml@v1 # WORKFLOW_VERSION + uses: ministryofjustice/hmpps-github-actions/.github/workflows/node_integration_tests.yml@v2 # WORKFLOW_VERSION needs: [node_build] secrets: inherit helm_lint: @@ -50,14 +50,14 @@ jobs: matrix: environments: ['dev', 'preprod', 'prod'] name: helm lint - uses: ministryofjustice/hmpps-github-actions/.github/workflows/test_helm_lint.yml@v1 # WORKFLOW_VERSION + uses: ministryofjustice/hmpps-github-actions/.github/workflows/test_helm_lint.yml@v2 # WORKFLOW_VERSION secrets: inherit with: environment: ${{ matrix.environments }} build: name: Build docker image from hmpps-github-actions if: github.ref == 'refs/heads/main' - uses: ministryofjustice/hmpps-github-actions/.github/workflows/docker_build.yml@v1 # WORKFLOW_VERSION + uses: ministryofjustice/hmpps-github-actions/.github/workflows/docker_build.yml@v2 # WORKFLOW_VERSION needs: - node_integration_tests - node_unit_tests @@ -72,7 +72,7 @@ jobs: needs: - build - helm_lint - uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@v1 # WORKFLOW_VERSION + uses: ministryofjustice/hmpps-github-actions/.github/workflows/deploy_env.yml@v2 # WORKFLOW_VERSION secrets: inherit with: environment: 'dev'