Skip to content

Commit b4696b9

Browse files
committed
fix(.github/workflows): migrate warm-services-cache to use action as step
1 parent 773e033 commit b4696b9

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

.github/workflows/pull-request.cue

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,16 @@ package workflows
4242
]
4343
}
4444
}
45-
"uses": "./.github/actions/warm-up-service"
46-
"with": {
47-
"repository": "${{ matrix.image.repository }}"
48-
"tag": "${{ matrix.image.tag }}"
49-
}
45+
"steps": [
46+
{
47+
"name": "Warm up service"
48+
"uses": "./.github/actions/warm-up-service"
49+
"with": {
50+
"repository": "${{ matrix.image.repository }}"
51+
"tag": "${{ matrix.image.tag }}"
52+
}
53+
}
54+
]
5055
}
5156
"unit-integration-tests": {
5257
"name": "PR Unit and Integration Tests"

.github/workflows/pull-request.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ jobs:
2828
image:
2929
- repository: datadog/agent
3030
tag: 7.69.2
31-
uses: ./.github/actions/warm-up-service
32-
with:
33-
repository: ${{ matrix.image.repository }}
34-
tag: ${{ matrix.image.tag }}
31+
steps:
32+
- name: Warm up service
33+
uses: ./.github/actions/warm-up-service
34+
with:
35+
repository: ${{ matrix.image.repository }}
36+
tag: ${{ matrix.image.tag }}
3537
unit-integration-tests:
3638
name: PR Unit and Integration Tests
3739
needs:

0 commit comments

Comments
 (0)