Browse Source

install Rust stable before build (#53)

This will fix MacOS build image not having Rust installed by default.
Jacob Bolda 5 years ago
parent
commit
94ead187dc
1 changed files with 16 additions and 0 deletions
  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