From e25c599a85452591eec2edbc86c87662fa7e81a9 Mon Sep 17 00:00:00 2001 From: Chen lizhong Date: Fri, 25 Nov 2022 13:50:19 +0800 Subject: [PATCH] test: use ubuntu 20.04 instead of latest as the issue in latest - https://github.com/actions/setup-python/issues/401 Signed-off-by: Chen lizhong --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d08ebfffd..763ae9596c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: jobs: code-test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: python-versions: [2.7, 3.6, 3.9] @@ -71,7 +71,7 @@ jobs: docs-test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3