From c28990dc21c17cb8254cf76ad12410d907ce2dc9 Mon Sep 17 00:00:00 2001 From: Yuntong Xie Date: Wed, 30 Nov 2022 20:35:20 -0600 Subject: [PATCH 1/3] change action version --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4f5e8f7..b192c1df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,11 @@ jobs: # handle this separately NULL_COMMIT: '0000000000000000000000000000000000000000' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install Python 3 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.9.4 - name: Install dependencies From 40b39b98ab0e17095720fa576cf7df84d1d0458b Mon Sep 17 00:00:00 2001 From: Yuntong Xie Date: Wed, 30 Nov 2022 20:46:27 -0600 Subject: [PATCH 2/3] change ubuntu version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b192c1df..763c8ae2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ workflow_dispatch: null jobs: format-checker: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 env: # When there is no base commit (e.g., first push to a new branch), # GitHub assigns a string of zeros to event.before. It's necessary to From 43ed17ce3dd935320f80a35424ca38a671e4124a Mon Sep 17 00:00:00 2001 From: Yuntong Xie Date: Wed, 30 Nov 2022 20:56:01 -0600 Subject: [PATCH 3/3] change back to ubuntu-latest --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 763c8ae2..f04fdb4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ workflow_dispatch: null jobs: format-checker: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: # When there is no base commit (e.g., first push to a new branch), # GitHub assigns a string of zeros to event.before. It's necessary to @@ -17,7 +17,7 @@ jobs: - name: Install Python 3 uses: actions/setup-python@v4 with: - python-version: 3.9.4 + python-version: 3.10.6 - name: Install dependencies run: | python -m pip install --upgrade pip