Merge pull request #2467 from dalf/fix-ci

[fix] github actions: use ubuntu-20.04 instead of ubuntu-latest
This commit is contained in:
Alexandre Flament 2021-01-14 17:14:59 +01:00 committed by GitHub
commit 824fe40a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,10 +5,10 @@ on: [push, pull_request]
jobs:
python:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-20.04]
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- name: Checkout
@ -46,7 +46,7 @@ jobs:
themes:
name: Themes
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
@ -59,7 +59,7 @@ jobs:
documentation:
name: Documentation
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
@ -92,7 +92,7 @@ jobs:
- documentation
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
if: env.DOCKERHUB_USERNAME != null