From 0e980633c79df453c37de611013a01198b2b9ca6 Mon Sep 17 00:00:00 2001 From: msclock Date: Fri, 27 Oct 2023 14:02:57 +0800 Subject: [PATCH] ci: setup-python with 3.11 Signed-off-by: msclock --- .github/workflows/ci.yml | 2 ++ .../workflows/ci.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fb747cf..76db4bee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,8 @@ jobs: - name: Set up python uses: actions/setup-python@v3 + with: + python-version: 3.11 - name: Run pre-commit on codebase uses: pre-commit/action@v3.0.0 diff --git a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml index 8fb747cf..76db4bee 100644 --- a/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml +++ b/template/[% if repo_host_type == 'github.com' %].github[% endif %]/workflows/ci.yml @@ -30,6 +30,8 @@ jobs: - name: Set up python uses: actions/setup-python@v3 + with: + python-version: 3.11 - name: Run pre-commit on codebase uses: pre-commit/action@v3.0.0