Skip to content

Commit 7c67637

Browse files
authored
Update action versions (open-telemetry#3867)
Fixes open-telemetry#3866
1 parent 47d5ad7 commit 7c67637

File tree

10 files changed

+35
-35
lines changed

10 files changed

+35
-35
lines changed

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
exit 1
1717
fi
1818
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
# history is needed to run git cherry-pick below
2222
fetch-depth: 0

.github/workflows/benchmarks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ jobs:
1818
os: [ubuntu-20.04, windows-2019]
1919
steps:
2020
- name: Checkout Core Repo @ SHA - ${{ github.sha }}
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222
- name: Set up Python ${{ env[matrix.python-version] }}
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ env[matrix.python-version] }}
2626
architecture: 'x64'
2727
- name: Install tox
2828
run: pip install tox
2929
- name: Cache tox environment
3030
# Preserves .tox directory between runs for faster installs
31-
uses: actions/cache@v2
31+
uses: actions/cache@v4
3232
with:
3333
path: |
3434
.tox

.github/workflows/changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
&& github.actor != 'opentelemetrybot'
1919
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
2222

2323
- name: Check for CHANGELOG changes
2424
run: |
@@ -33,4 +33,4 @@ jobs:
3333
echo "No CHANGELOG was modified."
3434
echo "Please add a CHANGELOG entry, or add the \"Skip Changelog\" label if not required."
3535
false
36-
fi
36+
fi

.github/workflows/check-links.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
md: ${{ steps.changes.outputs.md }}
1414
steps:
1515
- name: Checkout Repo
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
1919
- name: Get changed files
@@ -26,7 +26,7 @@ jobs:
2626
if: ${{needs.changedfiles.outputs.md}}
2727
steps:
2828
- name: Checkout Repo
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
3232

@@ -39,4 +39,4 @@ jobs:
3939
--verbose \
4040
--config .github/workflows/check_links_config.json \
4141
${{needs.changedfiles.outputs.md}} \
42-
|| { echo "Check that anchor links are lowercase"; exit 1; }
42+
|| { echo "Check that anchor links are lowercase"; exit 1; }

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424

2525
# Initializes the CodeQL tools for scanning.
2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v1
27+
uses: github/codeql-action/init@v3
2828
with:
2929
languages: python
3030

3131
- name: Autobuild
32-
uses: github/codeql-action/autobuild@v1
32+
uses: github/codeql-action/autobuild@v3
3333

3434
- name: Perform CodeQL Analysis
35-
uses: github/codeql-action/analyze@v1
35+
uses: github/codeql-action/analyze@v3

.github/workflows/prepare-patch-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
prepare-patch-release:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010

1111
- run: |
1212
if [[ ! $GITHUB_REF_NAME =~ ^release/v[0-9]+\.[0-9]+\.x-0\.[0-9]+bx$ ]]; then

.github/workflows/prepare-release-branch.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
prereqs:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
- name: Verify prerequisites
1616
env:
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
needs: prereqs
4141
steps:
42-
- uses: actions/checkout@v3
42+
- uses: actions/checkout@v4
4343

4444
- name: Create release branch
4545
env:
@@ -103,7 +103,7 @@ jobs:
103103
runs-on: ubuntu-latest
104104
needs: prereqs
105105
steps:
106-
- uses: actions/checkout@v3
106+
- uses: actions/checkout@v4
107107

108108
- name: Set environment variables
109109
env:

.github/workflows/public-api-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout the repo
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
2121

@@ -29,7 +29,7 @@ jobs:
2929
run: git checkout ${{ github.event.pull_request.head.sha }}
3030

3131
- name: Set up Python
32-
uses: actions/setup-python@v2
32+
uses: actions/setup-python@v5
3333
with:
3434
python-version: '3.10'
3535

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
exit 1
1313
fi
1414
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

1717
- name: Set environment variables
1818
run: |
@@ -56,15 +56,15 @@ jobs:
5656
5757
# check out main branch to verify there won't be problems with merging the change log
5858
# at the end of this workflow
59-
- uses: actions/checkout@v3
59+
- uses: actions/checkout@v4
6060
with:
6161
ref: main
6262

6363
# back to the release branch
64-
- uses: actions/checkout@v3
64+
- uses: actions/checkout@v4
6565

6666
# next few steps publish to pypi
67-
- uses: actions/setup-python@v1
67+
- uses: actions/setup-python@v5
6868
with:
6969
python-version: '3.8'
7070

@@ -127,7 +127,7 @@ jobs:
127127
--discussion-category announcements \
128128
v$STABLE_VERSION
129129
130-
- uses: actions/checkout@v3
130+
- uses: actions/checkout@v4
131131
with:
132132
# the step below is creating a pull request against main
133133
ref: main

.github/workflows/test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
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

Comments
 (0)