1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

chore(ci): update python to 3.11 (#17530)

This commit is contained in:
Spencer Comfort 2023-01-26 06:22:32 -05:00 committed by GitHub
parent 67a3b5f72a
commit 87c2493855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env -S deno run --allow-write=. --lock=./tools/deno.lock.json
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
import * as yaml from "https://deno.land/std@0.171.0/encoding/yaml.ts";
import * as yaml from "https://deno.land/std@0.173.0/encoding/yaml.ts";
const windowsRunnerCondition =
"github.repository == 'denoland/deno' && 'windows-2022-xl' || 'windows-2022'";
@ -86,7 +86,7 @@ const installRustStep = {
const installPythonSteps = [{
name: "Install Python",
uses: "actions/setup-python@v4",
with: { "python-version": 3.8 },
with: { "python-version": 3.11 },
}, {
name: "Remove unused versions of Python",
if: "startsWith(matrix.os, 'windows')",

View file

@ -111,7 +111,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.job != ''lint''))'
- name: Remove unused versions of Python
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.job != ''lint'' && (startsWith(matrix.os, ''windows''))))'

View file

@ -37,7 +37,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.11"
- name: Log versions
run: |