Skip to content

Commit 29ee682

Browse files
authored
Merge pull request #1146 from dimaqq/chore-bump-gha
#1146 Bump the versions of 1st party github actions in CI. Fixes #1115 Fixes warnings like this: `Linter (3.10) The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/` And this: `Warning actions/upload-artifact@v3 is scheduled for deprecation on November 30, 2024. Learn more. Similarly, v1/v2 are scheduled for deprecation on June 30, 2024. Please update your workflow to use v4 of the artifact actions. This deprecation will not impact any existing versions of GitHub Enterprise Server being used by customers.` Not touching download-artifact as that's sourced from someone's private repo; would have to actually check what changed there.
2 parents 9964611 + 1446aa3 commit 29ee682

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/test.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
- "3.10"
1414
steps:
1515
- name: Check out code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
- name: Setup Python
18-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: ${{ matrix.python }}
2121
- name: Install dependencies
@@ -34,9 +34,9 @@ jobs:
3434
- "3.10"
3535
steps:
3636
- name: Check out code
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838
- name: Setup Python
39-
uses: actions/setup-python@v4
39+
uses: actions/setup-python@v5
4040
with:
4141
python-version: ${{ matrix.python }}
4242
- name: Run build test target
@@ -54,9 +54,9 @@ jobs:
5454
- "3.10"
5555
steps:
5656
- name: Check out code
57-
uses: actions/checkout@v3
57+
uses: actions/checkout@v4
5858
- name: Setup Python
59-
uses: actions/setup-python@v4
59+
uses: actions/setup-python@v5
6060
with:
6161
python-version: ${{ matrix.python }}
6262
- name: Install dependencies
@@ -78,7 +78,7 @@ jobs:
7878
- "3.10"
7979
steps:
8080
- name: Check out code
81-
uses: actions/checkout@v3
81+
uses: actions/checkout@v4
8282
- name: Setup operator environment
8383
uses: charmed-kubernetes/actions-operator@main
8484
with:
@@ -113,7 +113,7 @@ jobs:
113113
# juju model-defaults apt-http-proxy=$PROXY apt-https-proxy=$PROXY juju-http-proxy=$PROXY juju-https-proxy=$PROXY snap-http-proxy=$PROXY snap-https-proxy=$PROXY
114114
# juju model-defaults
115115
- name: Setup Python
116-
uses: actions/setup-python@v4
116+
uses: actions/setup-python@v5
117117
with:
118118
python-version: ${{ matrix.python }}
119119
- name: Install dependencies

.github/workflows/test_candidate.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
echo "next-test=$next_test" >> $GITHUB_ENV
4848
echo "$next_test" > ~/juju-last-candidate-version
4949
- name: Check out code
50-
uses: actions/checkout@v3
50+
uses: actions/checkout@v4
5151
if: ${{ env.next-test != 'NA' }}
5252
- name: Setup operator environment
5353
if: ${{ env.next-test != 'NA' }}
@@ -57,7 +57,7 @@ jobs:
5757
juju-channel: 3.4/candidate
5858
- name: Setup Python
5959
if: ${{ env.next-test != 'NA' }}
60-
uses: actions/setup-python@v4
60+
uses: actions/setup-python@v5
6161
with:
6262
python-version: ${{ matrix.python }}
6363
- name: Install dependencies
@@ -69,7 +69,7 @@ jobs:
6969
run: tox -e integration -- -n 1
7070
- name: Upload artifact
7171
if: ${{ env.next-test != 'NA' }}
72-
uses: actions/upload-artifact@v3
72+
uses: actions/upload-artifact@v4
7373
with:
7474
name: juju-last-candidate-version
7575
path: ~/juju-last-candidate-version

.github/workflows/test_edge.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
echo "next-test=$next_test" >> $GITHUB_ENV
4848
echo "$next_test" > ~/juju-last-edge-version
4949
- name: Check out code
50-
uses: actions/checkout@v3
50+
uses: actions/checkout@v4
5151
if: ${{ env.next-test != 'NA' }}
5252
- name: Setup operator environment
5353
if: ${{ env.next-test != 'NA' }}
@@ -57,7 +57,7 @@ jobs:
5757
juju-channel: 3.4/edge
5858
- name: Setup Python
5959
if: ${{ env.next-test != 'NA' }}
60-
uses: actions/setup-python@v4
60+
uses: actions/setup-python@v5
6161
with:
6262
python-version: ${{ matrix.python }}
6363
- name: Install dependencies
@@ -69,7 +69,7 @@ jobs:
6969
run: tox -e integration -- -n 1
7070
- name: Upload artifact
7171
if: ${{ env.next-test != 'NA' }}
72-
uses: actions/upload-artifact@v3
72+
uses: actions/upload-artifact@v4
7373
with:
7474
name: juju-last-edge-version
7575
path: ~/juju-last-edge-version

0 commit comments

Comments
 (0)