Skip to content

Commit 611eda5

Browse files
committed
newer action
1 parent 01a3b54 commit 611eda5

1 file changed

Lines changed: 25 additions & 17 deletions

File tree

.github/workflows/quality-checks.yml

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
ref: ${{ env.BRANCH_NAME }}
3737
fetch-depth: 0
3838
- name: Run secrets scan
39-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
39+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
4040
with:
4141
workspace_folder: ${{ github.workspace }}
4242
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -59,7 +59,7 @@ jobs:
5959
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
6060

6161
- name: make install
62-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
62+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
6363
with:
6464
workspace_folder: ${{ github.workspace }}
6565
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -120,7 +120,7 @@ jobs:
120120
cmd: yq -i '.pkg.include-dev-deps = true' 'trivy.yaml'
121121
- name: convert python dependencies to requirements.txt
122122
if: ${{ steps.check_languages.outputs.uses_poetry == 'true' }}
123-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
123+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
124124
with:
125125
workspace_folder: ${{ github.workspace }}
126126
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -137,7 +137,7 @@ jobs:
137137
poetry export -f requirements.txt --with dev --without-hashes --output=requirements.txt
138138
- name: download go dependencies
139139
if: ${{ steps.check_languages.outputs.uses_go == 'true' }}
140-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
140+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
141141
with:
142142
workspace_folder: ${{ github.workspace }}
143143
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -174,7 +174,7 @@ jobs:
174174
cat license_scan.txt
175175
fi
176176
- name: Run code lint
177-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
177+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
178178
with:
179179
workspace_folder: ${{ github.workspace }}
180180
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -191,7 +191,7 @@ jobs:
191191
.git
192192
193193
- name: Run unit tests
194-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
194+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
195195
with:
196196
workspace_folder: ${{ github.workspace }}
197197
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -398,13 +398,21 @@ jobs:
398398
${{ runner.os }}-node-
399399
400400
- name: make install
401-
run: |
402-
make install
401+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
402+
with:
403+
workspace_folder: ${{ github.workspace }}
404+
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
405+
run: |
406+
make install
403407
404408
- name: Build docker images
405409
if: ${{ inputs.run_docker_scan == true }}
406-
run: |
407-
make docker-build
410+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
411+
with:
412+
workspace_folder: ${{ github.workspace }}
413+
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
414+
run: |
415+
make docker-build
408416
409417
- name: Check docker vulnerabilities
410418
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8
@@ -479,7 +487,7 @@ jobs:
479487
480488
- name: Run cfn-lint
481489
if: steps.check_sam_templates.outputs.sam_exists == 'true' || steps.check_cf_templates.outputs.cf_exists == 'true'
482-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
490+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
483491
with:
484492
workspace_folder: ${{ github.workspace }}
485493
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -493,7 +501,7 @@ jobs:
493501

494502
- name: make install NodeJS
495503
if: steps.check_cdk.outputs.cdk_exists == 'true'
496-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
504+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
497505
with:
498506
workspace_folder: ${{ github.workspace }}
499507
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -502,15 +510,15 @@ jobs:
502510
503511
- name: Run cdk-synth
504512
if: steps.check_cdk.outputs.cdk_exists == 'true'
505-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
513+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
506514
with:
507515
workspace_folder: ${{ github.workspace }}
508516
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
509517
run: |
510518
make cdk-synth
511519
512520
- name: Init cfn-guard
513-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
521+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
514522
with:
515523
workspace_folder: ${{ github.workspace }}
516524
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -529,7 +537,7 @@ jobs:
529537
530538
- name: Run cfn-guard script for sam templates
531539
if: steps.check_sam_templates.outputs.sam_exists == 'true'
532-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
540+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
533541
with:
534542
workspace_folder: ${{ github.workspace }}
535543
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -557,7 +565,7 @@ jobs:
557565
558566
- name: Run cfn-guard script for cloudformation templates
559567
if: steps.check_cf_templates.outputs.cf_exists == 'true'
560-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
568+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
561569
with:
562570
workspace_folder: ${{ github.workspace }}
563571
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}
@@ -576,7 +584,7 @@ jobs:
576584
577585
- name: Run cfn-guard script for cdk templates
578586
if: steps.check_cdk.outputs.cdk_exists == 'true'
579-
uses: anthony-nhs/docker-run-action-fork@83cfde66c34330c3ec4f6270a569a6701530d775
587+
uses: anthony-nhs/docker-run-action-fork@5600f5880dac8d150a7dc10820f5b01922b0b08e
580588
with:
581589
workspace_folder: ${{ github.workspace }}
582590
image: ghcr.io/nhsdigital/eps-devcontainers/${{ inputs.runtime_docker_image }}

0 commit comments

Comments
 (0)