From ac15ed7380266e52c9ef50559e38738a68a8fba9 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 | 6 ++++-- .github/workflows/publish-python.yaml | 9 +++++---- .github/workflows/test-python.yaml | 8 +++++--- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/live-tests.yaml b/.github/workflows/live-tests.yaml index 9226dda7..da943ec9 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 - - uses: actions-rs/toolchain@v1 + + - 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..301421e2 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 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - name: "Install Rust 1.77.1" + uses: actions-rs/toolchain@v1 + with: + 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..1a35ddc4 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 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - name: "Install Rust 1.77.1" + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.77.1 + - name: "Generate bdk.py and binaries" run: bash ./scripts/generate-linux.sh