Skip to content

Commit 4e90498

Browse files
ocelotllzchen
andauthoredApr 22, 2024··
Update action versions (#2441)
Fixes #2440 Co-authored-by: Leighton Chen <[email protected]>
1 parent 2718ffc commit 4e90498

10 files changed

+33
-33
lines changed
 

‎.github/workflows/backport.yml

+2-2
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
@@ -40,4 +40,4 @@ jobs:
4040
gh pr create --title "[$GITHUB_REF_NAME] $title" \
4141
--body "Clean cherry-pick of #$NUMBER to the \`$GITHUB_REF_NAME\` branch." \
4242
--head $branch \
43-
--base $GITHUB_REF_NAME
43+
--base $GITHUB_REF_NAME

‎.github/workflows/changelog.yml

+2-2
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/codeql-analysis.yml

+4-4
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/instrumentations_0.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,16 @@ jobs:
104104
package: "grpc"
105105
steps:
106106
- name: Checkout Contrib Repo @ SHA - ${{ github.sha }}
107-
uses: actions/checkout@v2
107+
uses: actions/checkout@v4
108108
- name: Set up Python ${{ env[matrix.python-version] }}
109-
uses: actions/setup-python@v4
109+
uses: actions/setup-python@v5
110110
with:
111111
python-version: ${{ env[matrix.python-version] }}
112112
- name: Install tox
113113
run: pip install tox
114114
- name: Cache tox environment
115115
# Preserves .tox directory between runs for faster installs
116-
uses: actions/cache@v1
116+
uses: actions/cache@v4
117117
with:
118118
path: |
119119
.tox

‎.github/workflows/instrumentations_1.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ jobs:
4343
package: "prometheus-remote-write"
4444
steps:
4545
- name: Checkout Contrib Repo @ SHA - ${{ github.sha }}
46-
uses: actions/checkout@v2
46+
uses: actions/checkout@v4
4747
- name: Set up Python ${{ env[matrix.python-version] }}
48-
uses: actions/setup-python@v4
48+
uses: actions/setup-python@v5
4949
with:
5050
python-version: ${{ env[matrix.python-version] }}
5151
- name: Install tox
5252
run: pip install tox
5353
- name: Cache tox environment
5454
# Preserves .tox directory between runs for faster installs
55-
uses: actions/cache@v1
55+
uses: actions/cache@v4
5656
with:
5757
path: |
5858
.tox

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

+3-3
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
@@ -50,7 +50,7 @@ jobs:
5050
run: .github/scripts/update-version.sh $STABLE_VERSION $UNSTABLE_VERSION
5151

5252
- name: Set up Python 3.9
53-
uses: actions/setup-python@v2
53+
uses: actions/setup-python@v5
5454
with:
5555
python-version: 3.9
5656
- name: Install tox
@@ -79,4 +79,4 @@ jobs:
7979
gh pr create --title "[$GITHUB_REF_NAME] $message" \
8080
--body "$message." \
8181
--head $branch \
82-
--base $GITHUB_REF_NAME
82+
--base $GITHUB_REF_NAME

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

+6-6
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:
@@ -77,7 +77,7 @@ jobs:
7777
run: .github/scripts/update-version.sh $STABLE_VERSION $UNSTABLE_VERSION
7878

7979
- name: Set up Python 3.9
80-
uses: actions/setup-python@v2
80+
uses: actions/setup-python@v5
8181
with:
8282
python-version: 3.9
8383
- name: Install tox
@@ -112,7 +112,7 @@ jobs:
112112
runs-on: ubuntu-latest
113113
needs: prereqs
114114
steps:
115-
- uses: actions/checkout@v3
115+
- uses: actions/checkout@v4
116116

117117
- name: Set environment variables
118118
env:
@@ -161,7 +161,7 @@ jobs:
161161
run: .github/scripts/update-version.sh $STABLE_NEXT_VERSION $UNSTABLE_NEXT_VERSION
162162

163163
- name: Set up Python 3.9
164-
uses: actions/setup-python@v2
164+
uses: actions/setup-python@v5
165165
with:
166166
python-version: 3.9
167167
- name: Install tox
@@ -192,4 +192,4 @@ jobs:
192192
gh pr create --title "$message" \
193193
--body "$body" \
194194
--head $branch \
195-
--base main
195+
--base main

‎.github/workflows/publish-a-package-from-tag.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
name: Publish package from tag
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v1
14-
- uses: actions/setup-python@v1
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
1515
with:
1616
python-version: '3.9'
1717
- name: Log tag that triggered publish workflow

‎.github/workflows/release.yml

+5-5
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$UNSTABLE_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

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
runs-on: ubuntu-20.04
1919
steps:
2020
- name: Checkout Contrib Repo @ SHA - ${{ github.sha }}
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222
- name: Set up Python 3.10
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: "3.10"
2626
- name: Install tox
@@ -30,7 +30,7 @@ jobs:
3030
run: sudo apt-get install -y libsnappy-dev
3131
- name: Cache tox environment
3232
# Preserves .tox directory between runs for faster installs
33-
uses: actions/cache@v1
33+
uses: actions/cache@v4
3434
with:
3535
path: |
3636
.tox

0 commit comments

Comments
 (0)
Please sign in to comment.