@@ -14,31 +14,11 @@ jobs:
1414 contents : read
1515
1616 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
17+ - name : Setup job workspace
18+ uses : ServerlessOpsIO/gha-setup-workspace@v1
2419
2520 - 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
21+ uses : ServerlessOpsIO/gha-setup-python@v1
4222
4323 - name : Assume AWS Credentials
4424 uses : ServerlessOpsIO/gha-assume-aws-credentials@v1
@@ -119,33 +99,11 @@ jobs:
11999 contents : read
120100
121101 steps :
122- - name : Set extra GitHub environment variables
123- id : github-env-vars
124- uses : rlespinasse/github-slug-action@v4
125-
126- - name : Download artifact
127- id : download-artifact
128- uses : actions/download-artifact@v4
129- with :
130- name : ${{ env.GITHUB_REPOSITORY_SLUG }}-${{ env.GITHUB_REF_SLUG_URL }}-${{ github.run_number }}-${{ github.sha }}
102+ - name : Setup job workspace
103+ uses : ServerlessOpsIO/gha-setup-workspace@v1
131104
132105 - name : Setup Python
133- id : install-python
134- uses : actions/setup-python@v3
135- with :
136- python-version : 3.12
137- cache : pipenv
138-
139- - name : Install pipenv
140- id : install-pipenv
141- shell : bash
142- run : python -m pip install --upgrade pipenv
143-
144-
145- - name : Install dependencies
146- id : install-python-deps
147- shell : bash
148- run : pipenv install --dev
106+ uses : ServerlessOpsIO/gha-setup-python@v1
149107
150108 - name : Assume AWS Credentials
151109 uses : ServerlessOpsIO/gha-assume-aws-credentials@v1
@@ -176,33 +134,11 @@ jobs:
176134 contents : read
177135
178136 steps :
179- - name : Set extra GitHub environment variables
180- id : github-env-vars
181- uses : rlespinasse/github-slug-action@v4
182-
183- - name : Download artifact
184- id : download-artifact
185- uses : actions/download-artifact@v4
186- with :
187- name : ${{ env.GITHUB_REPOSITORY_SLUG }}-${{ env.GITHUB_REF_SLUG_URL }}-${{ github.run_number }}-${{ github.sha }}
137+ - name : Setup job workspace
138+ uses : ServerlessOpsIO/gha-setup-workspace@v1
188139
189140 - name : Setup Python
190- id : install-python
191- uses : actions/setup-python@v3
192- with :
193- python-version : 3.12
194- cache : pipenv
195-
196- - name : Install pipenv
197- id : install-pipenv
198- shell : bash
199- run : python -m pip install --upgrade pipenv
200-
201-
202- - name : Install dependencies
203- id : install-python-deps
204- shell : bash
205- run : pipenv install --dev
141+ uses : ServerlessOpsIO/gha-setup-python@v1
206142
207143 - name : Assume AWS Credentials
208144 uses : ServerlessOpsIO/gha-assume-aws-credentials@v1
@@ -233,33 +169,11 @@ jobs:
233169 contents : read
234170
235171 steps :
236- - name : Set extra GitHub environment variables
237- id : github-env-vars
238- uses : rlespinasse/github-slug-action@v4
239-
240- - name : Download artifact
241- id : download-artifact
242- uses : actions/download-artifact@v4
243- with :
244- name : ${{ env.GITHUB_REPOSITORY_SLUG }}-${{ env.GITHUB_REF_SLUG_URL }}-${{ github.run_number }}-${{ github.sha }}
172+ - name : Setup job workspace
173+ uses : ServerlessOpsIO/gha-setup-workspace@v1
245174
246175 - name : Setup Python
247- id : install-python
248- uses : actions/setup-python@v3
249- with :
250- python-version : 3.12
251- cache : pipenv
252-
253- - name : Install pipenv
254- id : install-pipenv
255- shell : bash
256- run : python -m pip install --upgrade pipenv
257-
258-
259- - name : Install dependencies
260- id : install-python-deps
261- shell : bash
262- run : pipenv install --dev
176+ uses : ServerlessOpsIO/gha-setup-python@v1
263177
264178 - name : Assume AWS Credentials
265179 uses : ServerlessOpsIO/gha-assume-aws-credentials@v1
0 commit comments