From 5d332c934131ead5d32d532c90eb3e24d9f6dc26 Mon Sep 17 00:00:00 2001 From: Timothy Lee Date: Thu, 2 Mar 2023 10:00:45 +0800 Subject: [PATCH 1/2] Use python3.8 to build release and upgrade actions/setup-python@v4 Signed-off-by: Timothy Lee --- .github/workflows/ci.yml | 2 +- .github/workflows/graphql-format.yml | 2 +- .github/workflows/release.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18f277c1..56ef4395 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/graphql-format.yml b/.github/workflows/graphql-format.yml index 1e6dc571..c4b191f7 100644 --- a/.github/workflows/graphql-format.yml +++ b/.github/workflows/graphql-format.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: "3.8" - uses: actions/setup-node@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0f60020..6374b03f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,12 +14,12 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ 3.6 ] + python-version: [ 3.8 ] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From 29242de6ea6f653aa8165fea93a9ff6f239bb905 Mon Sep 17 00:00:00 2001 From: Timothy Lee Date: Thu, 2 Mar 2023 10:03:48 +0800 Subject: [PATCH 2/2] Remove 3.6 and add 3.11 for CI tests - python 3.6 (x64) was not found for Ubuntu 22.04 Signed-off-by: Timothy Lee --- .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 56ef4395..957d4759 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] + python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] steps: - uses: actions/checkout@v2