瀏覽代碼

install Rust stable before build (#53)

This will fix MacOS build image not having Rust installed by default.
Jacob Bolda 5 年之前
父節點
當前提交
94ead187dc
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      .github/workflows/test-on-pr.yml

+ 16 - 0
.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