add .python-version file

This commit is contained in:
David Hewitt 2022-12-14 21:30:55 +00:00
parent 389a662506
commit f837ec0fc1
2 changed files with 3 additions and 10 deletions

View File

@ -205,8 +205,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: Swatinem/rust-cache@v2
with:
key: cargo-valgrind
@ -229,8 +227,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: Swatinem/rust-cache@v2
with:
key: cargo-careful
@ -261,8 +257,6 @@ jobs:
if: steps.should-skip.outputs.skip != 'true'
- uses: actions/setup-python@v4
if: steps.should-skip.outputs.skip != 'true'
with:
python-version: "3.11"
- uses: Swatinem/rust-cache@v2
if: steps.should-skip.outputs.skip != 'true'
with:
@ -293,8 +287,6 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
id: setup-python
with:
python-version: "3.11"
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:

1
.python-version Normal file
View File

@ -0,0 +1 @@
3.11