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:
parent
67a3b5f72a
commit
87c2493855
3 changed files with 4 additions and 4 deletions
4
.github/workflows/ci.generate.ts
vendored
4
.github/workflows/ci.generate.ts
vendored
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env -S deno run --allow-write=. --lock=./tools/deno.lock.json
|
#!/usr/bin/env -S deno run --allow-write=. --lock=./tools/deno.lock.json
|
||||||
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
// 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 =
|
const windowsRunnerCondition =
|
||||||
"github.repository == 'denoland/deno' && 'windows-2022-xl' || 'windows-2022'";
|
"github.repository == 'denoland/deno' && 'windows-2022-xl' || 'windows-2022'";
|
||||||
|
@ -86,7 +86,7 @@ const installRustStep = {
|
||||||
const installPythonSteps = [{
|
const installPythonSteps = [{
|
||||||
name: "Install Python",
|
name: "Install Python",
|
||||||
uses: "actions/setup-python@v4",
|
uses: "actions/setup-python@v4",
|
||||||
with: { "python-version": 3.8 },
|
with: { "python-version": 3.11 },
|
||||||
}, {
|
}, {
|
||||||
name: "Remove unused versions of Python",
|
name: "Remove unused versions of Python",
|
||||||
if: "startsWith(matrix.os, 'windows')",
|
if: "startsWith(matrix.os, 'windows')",
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -111,7 +111,7 @@ jobs:
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
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''))'
|
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
|
- 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''))))'
|
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.job != ''lint'' && (startsWith(matrix.os, ''windows''))))'
|
||||||
|
|
2
.github/workflows/wpt_epoch.yml
vendored
2
.github/workflows/wpt_epoch.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.8"
|
python-version: "3.11"
|
||||||
|
|
||||||
- name: Log versions
|
- name: Log versions
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue