1212 # changes.
1313 CONTRIB_REPO_SHA : 9ce1c26d2732dfbdadbb492fc38c562dcd08ed2e
1414 # This is needed because we do not clone the core repo in contrib builds anymore.
15- # When running contrib builds as part of core builds, we use actions/checkout@v2 which
15+ # When running contrib builds as part of core builds, we use actions/checkout@v4 which
1616 # does not set an environment variable (simply just runs tox), which is different when
1717 # contrib builds are run directly from contrib (since test.yml is executed, which sets CORE_REPO_SHA)
1818 # The solution is to include CORE_REPO_SHA as part of THIS environment so it can be accessed
@@ -67,17 +67,17 @@ jobs:
6767
6868 steps :
6969 - name : Checkout Core Repo @ SHA - ${{ github.sha }}
70- uses : actions/checkout@v2
70+ uses : actions/checkout@v4
7171 - name : Set up Python ${{ env[matrix.python-version] }}
72- uses : actions/setup-python@v2
72+ uses : actions/setup-python@v5
7373 with :
7474 python-version : ${{ env[matrix.python-version] }}
7575 architecture : ' x64'
7676 - name : Install tox
7777 run : pip install tox
7878 - name : Cache tox environment
7979 # Preserves .tox directory between runs for faster installs
80- uses : actions/cache@v2
80+ uses : actions/cache@v4
8181 with :
8282 path : |
8383 .tox
@@ -100,17 +100,17 @@ jobs:
100100 runs-on : ubuntu-20.04
101101 steps :
102102 - name : Checkout Core Repo @ SHA - ${{ github.sha }}
103- uses : actions/checkout@v2
103+ uses : actions/checkout@v4
104104 - name : Set up Python
105- uses : actions/setup-python@v2
105+ uses : actions/setup-python@v5
106106 with :
107107 python-version : ' 3.10'
108108 architecture : ' x64'
109109 - name : Install tox
110110 run : pip install tox
111111 - name : Cache tox environment
112112 # Preserves .tox directory between runs for faster installs
113- uses : actions/cache@v2
113+ uses : actions/cache@v4
114114 with :
115115 path : |
116116 .tox
@@ -183,25 +183,25 @@ jobs:
183183 os : [ubuntu-20.04]
184184 steps :
185185 - name : Checkout Contrib Repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
186- uses : actions/checkout@v2
186+ uses : actions/checkout@v4
187187 with :
188188 repository : open-telemetry/opentelemetry-python-contrib
189189 ref : ${{ env.CONTRIB_REPO_SHA }}
190190 - name : Checkout Core Repo @ SHA ${{ github.sha }}
191- uses : actions/checkout@v2
191+ uses : actions/checkout@v4
192192 with :
193193 repository : open-telemetry/opentelemetry-python
194194 path : opentelemetry-python-core
195195 - name : Set up Python ${{ env[matrix.python-version] }}
196- uses : actions/setup-python@v2
196+ uses : actions/setup-python@v5
197197 with :
198198 python-version : ${{ env[matrix.python-version] }}
199199 architecture : ' x64'
200200 - name : Install tox
201201 run : pip install tox
202202 - name : Cache tox environment
203203 # Preserves .tox directory between runs for faster installs
204- uses : actions/cache@v2
204+ uses : actions/cache@v4
205205 with :
206206 path : |
207207 .tox
0 commit comments