From 55fcd067f0822db8f0706b5af6839c8eaf0d82f5 Mon Sep 17 00:00:00 2001 From: Chenlizhong Date: Fri, 25 Nov 2022 14:04:08 +0800 Subject: [PATCH] test: use ubuntu 20.04 instead of latest as the issue in latest (#3608) - https://github.com/actions/setup-python/issues/401 Signed-off-by: Chen lizhong (cherry picked from commit 68c1d08230ac2ae26b48a9dc8a0986b82c6bb9c1) --- .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