From c0dd8da5675aca222053b49d299220891f43535f Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Mon, 29 Apr 2024 14:56:36 -0400 Subject: [PATCH] ci: explicitly use rust compiler 1.77.1 on python ci runs --- .github/workflows/live-tests.yaml | 4 +++- .github/workflows/publish-python.yaml | 7 ++++--- .github/workflows/test-python.yaml | 6 ++++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/live-tests.yaml b/.github/workflows/live-tests.yaml index 9226dda7..46324dfe 100644 --- a/.github/workflows/live-tests.yaml +++ b/.github/workflows/live-tests.yaml @@ -74,9 +74,11 @@ jobs: uses: actions/checkout@v3 with: submodules: true + + - name: "Install Rust 1.77.1" - uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: 1.77.1 - name: "Generate bdk.py and binaries" run: bash ./scripts/generate-linux.sh diff --git a/.github/workflows/publish-python.yaml b/.github/workflows/publish-python.yaml index ff51cf20..3f78fac1 100644 --- a/.github/workflows/publish-python.yaml +++ b/.github/workflows/publish-python.yaml @@ -31,11 +31,12 @@ jobs: uses: actions/checkout@v3 with: submodules: true - # TODO 2: Other CI workflows use explicit Rust compiler versions, I think we should do the same here + + - name: "Install Rust 1.77.1" - uses: actions-rs/toolchain@v1 with: - toolchain: stable - + toolchain: 1.77.1 + - name: "Generate bdk.py and binaries" run: bash ./scripts/generate-linux.sh diff --git a/.github/workflows/test-python.yaml b/.github/workflows/test-python.yaml index 0618e9d7..0be143db 100644 --- a/.github/workflows/test-python.yaml +++ b/.github/workflows/test-python.yaml @@ -40,10 +40,12 @@ jobs: uses: actions/checkout@v3 with: submodules: true + + - name: "Install Rust 1.77.1" - uses: actions-rs/toolchain@v1 with: - toolchain: stable - + toolchain: 1.77.1 + - name: "Generate bdk.py and binaries" run: bash ./scripts/generate-linux.sh