Explorar o código

install Rust stable before build (#53)

This will fix MacOS build image not having Rust installed by default.
Jacob Bolda %!s(int64=5) %!d(string=hai) anos
pai
achega
94ead187dc
Modificáronse 1 ficheiros con 16 adicións e 0 borrados
  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