From 678d498429fa95d1330a7d8ee139e464dd7e1cb6 Mon Sep 17 00:00:00 2001 From: Changyu Gao Date: Fri, 2 Dec 2022 15:01:42 -0800 Subject: [PATCH] Use ubuntu-20.04 instead of latest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use ubuntu-20.04 to fix the `arch x64 not found` issue [Version 3.10 with arch x64 not found actions/setup-python#401](https://github.com/actions/setup-python/issues/401) --- .github/workflows/pre-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 3c6c1f286..4341b9286 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -7,7 +7,7 @@ on: jobs: pre-commit: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: # make sure python versions are consistent with those used in .circleci/config.yml