Skip to content

Commit c86cc24

Browse files
authored
Bump actions/setup-python and actions/checkout versions, as old ones are deprecated (kivy#2827)
1 parent 70debe5 commit c86cc24

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/push.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout python-for-android
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
- name: Set up Python 3.x
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: 3.x
2323
- name: Run flake8
@@ -36,9 +36,9 @@ jobs:
3636
os: [ubuntu-latest, macOs-latest]
3737
steps:
3838
- name: Checkout python-for-android
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040
- name: Set up Python ${{ matrix.python-version }}
41-
uses: actions/setup-python@v2
41+
uses: actions/setup-python@v4
4242
with:
4343
python-version: ${{ matrix.python-version }}
4444
- name: Tox tests
@@ -70,7 +70,7 @@ jobs:
7070
target: testapps-webview
7171
steps:
7272
- name: Checkout python-for-android
73-
uses: actions/checkout@v2
73+
uses: actions/checkout@v3
7474
# helps with GitHub runner getting out of space
7575
- name: Free disk space
7676
run: |
@@ -116,7 +116,7 @@ jobs:
116116
ANDROID_NDK_HOME: ${HOME}/.android/android-ndk
117117
steps:
118118
- name: Checkout python-for-android
119-
uses: actions/checkout@v2
119+
uses: actions/checkout@v3
120120
- name: Install python-for-android
121121
run: |
122122
source ci/osx_ci.sh
@@ -161,7 +161,7 @@ jobs:
161161
target: testapps-webview-aab
162162
steps:
163163
- name: Checkout python-for-android
164-
uses: actions/checkout@v2
164+
uses: actions/checkout@v3
165165
# helps with GitHub runner getting out of space
166166
- name: Free disk space
167167
run: |
@@ -201,7 +201,7 @@ jobs:
201201
target: testapps-service_library-aar
202202
steps:
203203
- name: Checkout python-for-android
204-
uses: actions/checkout@v2
204+
uses: actions/checkout@v3
205205
# helps with GitHub runner getting out of space
206206
- name: Free disk space
207207
run: |
@@ -248,7 +248,7 @@ jobs:
248248
ANDROID_NDK_HOME: ${HOME}/.android/android-ndk
249249
steps:
250250
- name: Checkout python-for-android
251-
uses: actions/checkout@v2
251+
uses: actions/checkout@v3
252252
- name: Install python-for-android
253253
run: |
254254
source ci/osx_ci.sh
@@ -289,8 +289,8 @@ jobs:
289289
env:
290290
REBUILD_UPDATED_RECIPES_EXTRA_ARGS: --arch=${{ matrix.android_arch }}
291291
steps:
292-
- name: Checkout python-for-android
293-
uses: actions/checkout@v2
292+
- name: Checkout python-for-android (all-history)
293+
uses: actions/checkout@v3
294294
with:
295295
fetch-depth: 0
296296
# helps with GitHub runner getting out of space
@@ -325,8 +325,8 @@ jobs:
325325
ANDROID_NDK_HOME: ${HOME}/.android/android-ndk
326326
REBUILD_UPDATED_RECIPES_EXTRA_ARGS: --arch=${{ matrix.android_arch }}
327327
steps:
328-
- name: Checkout python-for-android
329-
uses: actions/checkout@v2
328+
- name: Checkout python-for-android (all-history)
329+
uses: actions/checkout@v3
330330
with:
331331
fetch-depth: 0
332332
- name: Install python-for-android

.github/workflows/pypi-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ jobs:
55
pypi_release:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v3
99
- name: Set up Python 3.x
10-
uses: actions/setup-python@v2
10+
uses: actions/setup-python@v4
1111
with:
12-
python-version: 3.x
12+
python-version: '3.x'
1313
- name: Install dependencies
1414
run: |
1515
python -m pip install --upgrade setuptools wheel twine

0 commit comments

Comments
 (0)