From f837ec0fc138f62da8cae3f4b27f35b632023239 Mon Sep 17 00:00:00 2001 From: David Hewitt <1939362+davidhewitt@users.noreply.github.com> Date: Wed, 14 Dec 2022 21:30:55 +0000 Subject: [PATCH] add .python-version file --- .github/workflows/ci.yml | 12 ++---------- .python-version | 1 + 2 files changed, 3 insertions(+), 10 deletions(-) create mode 100644 .python-version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5deae75f..fd190424 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -197,7 +197,7 @@ jobs: rust-target: "i686-pc-windows-msvc", } extra-features: "multiple-pymethods" - + valgrind: if: ${{ github.event_name != 'pull_request' && github.ref != 'refs/heads/main' }} needs: [fmt] @@ -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: @@ -317,7 +309,7 @@ jobs: run: nox -s build-emscripten - name: Test run: nox -s test-emscripten - + conclusion: needs: - fmt diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..2c073331 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.11