From 94ead187dcf9008f5e5376277813d092a7fe6d6c Mon Sep 17 00:00:00 2001 From: Jacob Bolda Date: Sat, 16 Nov 2019 14:24:24 -0600 Subject: [PATCH] install Rust stable before build (#53) This will fix MacOS build image not having Rust installed by default. --- .github/workflows/test-on-pr.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/test-on-pr.yml b/.github/workflows/test-on-pr.yml index b202cd84c6bd..fa7f139c079f 100644 --- a/.github/workflows/test-on-pr.yml +++ b/.github/workflows/test-on-pr.yml @@ -15,6 +15,10 @@ jobs: - uses: actions/checkout@v1 with: fetch-depth: 3 + - name: install stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable - name: build run: | cd ./lib/rust @@ -32,6 +36,10 @@ jobs: - uses: actions/checkout@v1 with: fetch-depth: 3 + - name: install stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable - name: build run: | cd ./bindings/rust @@ -49,6 +57,10 @@ jobs: - uses: actions/checkout@v1 with: fetch-depth: 3 + - name: install stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable - name: build run: | cd ./templates/rust @@ -66,6 +78,10 @@ jobs: - uses: actions/checkout@v1 with: fetch-depth: 3 + - name: install stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable - name: build run: | cd ./tools/rust/cargo-tauri-bundle