|
14 | 14 | contents: read |
15 | 15 |
|
16 | 16 | steps: |
17 | | - - name: Set extra GitHub environment variables |
18 | | - id: github-env-vars |
19 | | - uses: rlespinasse/github-slug-action@v4 |
20 | | - |
21 | | - - name: Checkout source |
22 | | - id: checkout-source |
23 | | - uses: actions/checkout@v4 |
24 | | - |
25 | | - - name: Setup Python |
26 | | - id: install-python |
27 | | - uses: actions/setup-python@v3 |
28 | | - with: |
29 | | - python-version: 3.12 |
30 | | - cache: pipenv |
31 | | - |
32 | | - - name: Install pipenv |
33 | | - id: install-pipenv |
34 | | - shell: bash |
35 | | - run: python -m pip install --upgrade pipenv |
36 | | - |
37 | | - |
38 | | - - name: Install dependencies |
39 | | - id: install-python-deps |
40 | | - shell: bash |
41 | | - run: pipenv install --dev |
| 17 | + - name: Setup job workspace |
| 18 | + uses: ServerlessOpsIO/gha-setup-workspace@v1 |
42 | 19 |
|
43 | 20 | - name: Assume AWS Credentials |
44 | 21 | uses: ServerlessOpsIO/gha-assume-aws-credentials@v1 |
@@ -129,33 +106,10 @@ jobs: |
129 | 106 | contents: read |
130 | 107 |
|
131 | 108 | steps: |
132 | | - - name: Set extra GitHub environment variables |
133 | | - id: github-env-vars |
134 | | - uses: rlespinasse/github-slug-action@v4 |
135 | | - |
136 | | - - name: Download artifact |
137 | | - id: download-artifact |
138 | | - uses: actions/download-artifact@v4 |
139 | | - with: |
140 | | - name: ${{ env.GITHUB_REPOSITORY_SLUG }}-${{ env.GITHUB_REF_SLUG_URL }}-${{ github.run_number }}-${{ github.sha }} |
141 | | - |
142 | | - - name: Setup Python |
143 | | - id: install-python |
144 | | - uses: actions/setup-python@v3 |
| 109 | + - name: Setup job workspace |
| 110 | + uses: ServerlessOpsIO/gha-setup-workspace@v1 |
145 | 111 | with: |
146 | | - python-version: 3.12 |
147 | | - cache: pipenv |
148 | | - |
149 | | - - name: Install pipenv |
150 | | - id: install-pipenv |
151 | | - shell: bash |
152 | | - run: python -m pip install --upgrade pipenv |
153 | | - |
154 | | - |
155 | | - - name: Install dependencies |
156 | | - id: install-python-deps |
157 | | - shell: bash |
158 | | - run: pipenv install --dev |
| 112 | + checkout_artifact: true |
159 | 113 |
|
160 | 114 | - name: Assume AWS Credentials |
161 | 115 | uses: ServerlessOpsIO/gha-assume-aws-credentials@v1 |
@@ -186,33 +140,10 @@ jobs: |
186 | 140 | contents: read |
187 | 141 |
|
188 | 142 | steps: |
189 | | - - name: Set extra GitHub environment variables |
190 | | - id: github-env-vars |
191 | | - uses: rlespinasse/github-slug-action@v4 |
192 | | - |
193 | | - - name: Download artifact |
194 | | - id: download-artifact |
195 | | - uses: actions/download-artifact@v4 |
| 143 | + - name: Setup job workspace |
| 144 | + uses: ServerlessOpsIO/gha-setup-workspace@v1 |
196 | 145 | with: |
197 | | - name: ${{ env.GITHUB_REPOSITORY_SLUG }}-${{ env.GITHUB_REF_SLUG_URL }}-${{ github.run_number }}-${{ github.sha }} |
198 | | - |
199 | | - - name: Setup Python |
200 | | - id: install-python |
201 | | - uses: actions/setup-python@v3 |
202 | | - with: |
203 | | - python-version: 3.12 |
204 | | - cache: pipenv |
205 | | - |
206 | | - - name: Install pipenv |
207 | | - id: install-pipenv |
208 | | - shell: bash |
209 | | - run: python -m pip install --upgrade pipenv |
210 | | - |
211 | | - |
212 | | - - name: Install dependencies |
213 | | - id: install-python-deps |
214 | | - shell: bash |
215 | | - run: pipenv install --dev |
| 146 | + checkout_artifact: true |
216 | 147 |
|
217 | 148 | - name: Assume AWS Credentials |
218 | 149 | uses: ServerlessOpsIO/gha-assume-aws-credentials@v1 |
@@ -243,33 +174,10 @@ jobs: |
243 | 174 | contents: read |
244 | 175 |
|
245 | 176 | steps: |
246 | | - - name: Set extra GitHub environment variables |
247 | | - id: github-env-vars |
248 | | - uses: rlespinasse/github-slug-action@v4 |
249 | | - |
250 | | - - name: Download artifact |
251 | | - id: download-artifact |
252 | | - uses: actions/download-artifact@v4 |
| 177 | + - name: Setup job workspace |
| 178 | + uses: ServerlessOpsIO/gha-setup-workspace@v1 |
253 | 179 | with: |
254 | | - name: ${{ env.GITHUB_REPOSITORY_SLUG }}-${{ env.GITHUB_REF_SLUG_URL }}-${{ github.run_number }}-${{ github.sha }} |
255 | | - |
256 | | - - name: Setup Python |
257 | | - id: install-python |
258 | | - uses: actions/setup-python@v3 |
259 | | - with: |
260 | | - python-version: 3.12 |
261 | | - cache: pipenv |
262 | | - |
263 | | - - name: Install pipenv |
264 | | - id: install-pipenv |
265 | | - shell: bash |
266 | | - run: python -m pip install --upgrade pipenv |
267 | | - |
268 | | - |
269 | | - - name: Install dependencies |
270 | | - id: install-python-deps |
271 | | - shell: bash |
272 | | - run: pipenv install --dev |
| 180 | + checkout_artifact: true |
273 | 181 |
|
274 | 182 | - name: Assume AWS Credentials |
275 | 183 | uses: ServerlessOpsIO/gha-assume-aws-credentials@v1 |
@@ -298,33 +206,10 @@ jobs: |
298 | 206 | contents: read |
299 | 207 |
|
300 | 208 | steps: |
301 | | - - name: Set extra GitHub environment variables |
302 | | - id: github-env-vars |
303 | | - uses: rlespinasse/github-slug-action@v4 |
304 | | - |
305 | | - - name: Download artifact |
306 | | - id: download-artifact |
307 | | - uses: actions/download-artifact@v4 |
308 | | - with: |
309 | | - name: ${{ env.GITHUB_REPOSITORY_SLUG }}-${{ env.GITHUB_REF_SLUG_URL }}-${{ github.run_number }}-${{ github.sha }} |
310 | | - |
311 | | - - name: Setup Python |
312 | | - id: install-python |
313 | | - uses: actions/setup-python@v3 |
| 209 | + - name: Setup job workspace |
| 210 | + uses: ServerlessOpsIO/gha-setup-workspace@v1 |
314 | 211 | with: |
315 | | - python-version: 3.12 |
316 | | - cache: pipenv |
317 | | - |
318 | | - - name: Install pipenv |
319 | | - id: install-pipenv |
320 | | - shell: bash |
321 | | - run: python -m pip install --upgrade pipenv |
322 | | - |
323 | | - |
324 | | - - name: Install dependencies |
325 | | - id: install-python-deps |
326 | | - shell: bash |
327 | | - run: pipenv install --dev |
| 212 | + checkout_artifact: true |
328 | 213 |
|
329 | 214 | - name: Assume AWS Credentials |
330 | 215 | uses: ServerlessOpsIO/gha-assume-aws-credentials@v1 |
|
0 commit comments