8000 [BE] Move all lint runner to 24.04 (#150427) · pytorch/pytorch@48af2cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 48af2cd

Browse files
malfetpytorchmergebot
authored andcommitted
[BE] Move all lint runner to 24.04 (#150427)
As Ubuntu-20 reached EOL on Apr 1st, see actions/runner-images#11101 This forces older python version to be 3.8 Delete all linux-20.04 runners from the lintrunner.yml Pull Request resolved: #150427 Approved by: https://github.com/seemethere
1 parent 3b0cd9b commit 48af2cd

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/actionlint.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ self-hosted-runner:
33
# GitHub hosted runner that actionlint doesn't recognize because actionlint version (1.6.21) is too old
44
- ubuntu-24.04
55
# GitHub hosted x86 Linux runners
6-
# TODO: Cleanup mentions of linux.20_04 when upgrade to linux.24_04 is complete
7-
- linux.20_04.4x
8-
- linux.20_04.16x
96
- linux.24_04.4x
107
- linux.24_04.16x
118
# Organization-wide AWS Linux Runners

.github/workflows/lint.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,8 @@ jobs:
233233
runner: linux.24_04.4x
234234
- test_type: without_torch
235235
runner: linux.24_04.4x
236-
# NOTE: The oldest supported version of python for 24.04 is 3.8
237-
# so this cannot be updated if we want to keep this test at 3.6
238236
- test_type: older_python_version
239-
runner: linux.20_04.4x
237+
runner: linux.24_04.4x
240238
steps:
241239
# [see note: pytorch repo ref]
242240
# deep clone (fetch-depth 0) required, to allow us to use git log
@@ -256,7 +254,7 @@ jobs:
256254
if: matrix.test_type == 'older_python_version'
257255
uses: actions/setup-python@v5
258256
with:
259-
python-version: 3.6
257+
python-version: 3.8
260258
architecture: x64
261259
check-latest: false
262260
cache: pip

0 commit comments

Comments
 (0)
0