Browse Source

[workflows/ci.yml] Change ubuntu-latest to ubuntu-18.04

ubuntu-latest alias will be switched to ubuntu-20.04 soon (see [1]) which lacks python 3.3 and 3.4 (see [2]).

1. https://github.blog/changelog/2020-10-29-github-actions-ubuntu-latest-workflows-will-use-ubuntu-20-04/
2. https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
Sergey M․ 4 years ago
parent
commit
d0fc289f45
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/ci.yml

+ 3 - 3
.github/workflows/ci.yml

@@ -7,7 +7,7 @@ jobs:
     strategy:
     strategy:
       fail-fast: true
       fail-fast: true
       matrix:
       matrix:
-        os: [ubuntu-latest]
+        os: [ubuntu-18.04]
         # TODO: python 2.6
         # TODO: python 2.6
         python-version: [2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, pypy-2.7, pypy-3.6, pypy-3.7]
         python-version: [2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, pypy-2.7, pypy-3.6, pypy-3.7]
         python-impl: [cpython]
         python-impl: [cpython]
@@ -26,11 +26,11 @@ jobs:
           ytdl-test-set: download
           ytdl-test-set: download
           run-tests-ext: bat
           run-tests-ext: bat
         # jython
         # jython
-        - os: ubuntu-latest
+        - os: ubuntu-18.04
           python-impl: jython
           python-impl: jython
           ytdl-test-set: core
           ytdl-test-set: core
           run-tests-ext: sh
           run-tests-ext: sh
-        - os: ubuntu-latest
+        - os: ubuntu-18.04
           python-impl: jython
           python-impl: jython
           ytdl-test-set: download
           ytdl-test-set: download
           run-tests-ext: sh
           run-tests-ext: sh