Jelajahi Sumber

install Rust stable before build (#53)

This will fix MacOS build image not having Rust installed by default.
Jacob Bolda 5 tahun lalu
induk
melakukan
94ead187dc
1 mengubah file dengan 16 tambahan dan 0 penghapusan
  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