Browse Source

:white_check_mark: Locking Rust version (#171)

Danilo Guanabara 5 months ago
parent
commit
7ad0dfb5da

+ 2 - 2
.github/workflows/publish-bolt-crates.yml

@@ -49,7 +49,7 @@ jobs:
       - name: install rust
       - name: install rust
         uses: dtolnay/rust-toolchain@stable
         uses: dtolnay/rust-toolchain@stable
         with:
         with:
-          toolchain: stable
+          toolchain: 1.81.0
 
 
       - name: Cache rust
       - name: Cache rust
         uses: Swatinem/rust-cache@v2
         uses: Swatinem/rust-cache@v2
@@ -82,7 +82,7 @@ jobs:
       - name: install rust
       - name: install rust
         uses: dtolnay/rust-toolchain@stable
         uses: dtolnay/rust-toolchain@stable
         with:
         with:
-          toolchain: stable
+          toolchain: 1.81.0
 
 
       - name: Cache rust
       - name: Cache rust
         uses: Swatinem/rust-cache@v2
         uses: Swatinem/rust-cache@v2

+ 2 - 2
.github/workflows/publish-bolt-sdk.yml

@@ -49,7 +49,7 @@ jobs:
       - name: install rust
       - name: install rust
         uses: dtolnay/rust-toolchain@stable
         uses: dtolnay/rust-toolchain@stable
         with:
         with:
-          toolchain: stable
+          toolchain: 1.81.0
 
 
       - name: Cache rust
       - name: Cache rust
         uses: Swatinem/rust-cache@v2
         uses: Swatinem/rust-cache@v2
@@ -92,7 +92,7 @@ jobs:
       - name: install rust
       - name: install rust
         uses: dtolnay/rust-toolchain@stable
         uses: dtolnay/rust-toolchain@stable
         with:
         with:
-          toolchain: stable
+          toolchain: 1.81.0
 
 
       - name: Cache rust
       - name: Cache rust
         uses: Swatinem/rust-cache@v2
         uses: Swatinem/rust-cache@v2

+ 8 - 8
.github/workflows/publish-packages.yml

@@ -23,43 +23,43 @@ jobs:
           - {
           - {
             NAME: linux-x64-glibc,
             NAME: linux-x64-glibc,
             OS: ubuntu-latest,
             OS: ubuntu-latest,
-            TOOLCHAIN: stable,
+            TOOLCHAIN: 1.81.0,
             TARGET: x86_64-unknown-linux-gnu,
             TARGET: x86_64-unknown-linux-gnu,
           }
           }
           - {
           - {
             NAME: linux-x86-glibc,
             NAME: linux-x86-glibc,
             OS: ubuntu-latest,
             OS: ubuntu-latest,
-            TOOLCHAIN: stable,
+            TOOLCHAIN: 1.81.0,
             TARGET: i686-unknown-linux-gnu,
             TARGET: i686-unknown-linux-gnu,
           }
           }
           - {
           - {
             NAME: linux-arm64-glibc,
             NAME: linux-arm64-glibc,
             OS: ubuntu-latest,
             OS: ubuntu-latest,
-            TOOLCHAIN: stable,
+            TOOLCHAIN: 1.81.0,
             TARGET: aarch64-unknown-linux-gnu,
             TARGET: aarch64-unknown-linux-gnu,
           }
           }
           - {
           - {
             NAME: win32-x64-msvc,
             NAME: win32-x64-msvc,
             OS: windows-latest,
             OS: windows-latest,
-            TOOLCHAIN: stable,
+            TOOLCHAIN: 1.81.0,
             TARGET: x86_64-pc-windows-msvc,
             TARGET: x86_64-pc-windows-msvc,
           }
           }
           - {
           - {
             NAME: win32-x86-msvc,
             NAME: win32-x86-msvc,
             OS: windows-latest,
             OS: windows-latest,
-            TOOLCHAIN: stable,
+            TOOLCHAIN: 1.81.0,
             TARGET: i686-pc-windows-msvc,
             TARGET: i686-pc-windows-msvc,
           }
           }
           - {
           - {
             NAME: darwin-x64,
             NAME: darwin-x64,
             OS: macos-latest,
             OS: macos-latest,
-            TOOLCHAIN: stable,
+            TOOLCHAIN: 1.81.0,
             TARGET: x86_64-apple-darwin,
             TARGET: x86_64-apple-darwin,
           }
           }
           - {
           - {
             NAME: darwin-arm64,
             NAME: darwin-arm64,
             OS: macos-latest,
             OS: macos-latest,
-            TOOLCHAIN: stable,
+            TOOLCHAIN: 1.81.0,
             TARGET: aarch64-apple-darwin,
             TARGET: aarch64-apple-darwin,
           }
           }
     steps:
     steps:
@@ -85,7 +85,7 @@ jobs:
           fi
           fi
 
 
       - name: Install Rust toolchain
       - name: Install Rust toolchain
-        uses: actions-rs/toolchain@v1
+        uses: actions-rs/toFolchain@v1
         with:
         with:
           toolchain: ${{ matrix.build.TOOLCHAIN }}
           toolchain: ${{ matrix.build.TOOLCHAIN }}
           target: ${{ matrix.build.TARGET }}
           target: ${{ matrix.build.TARGET }}

+ 1 - 1
.github/workflows/run-lint.yml

@@ -35,7 +35,7 @@ jobs:
       - name: Install Rust
       - name: Install Rust
         uses: dtolnay/rust-toolchain@stable
         uses: dtolnay/rust-toolchain@stable
         with:
         with:
-          toolchain: stable
+          toolchain: 1.81.0
 
 
       - name: Cache Rust
       - name: Cache Rust
         uses: Swatinem/rust-cache@v2
         uses: Swatinem/rust-cache@v2

+ 2 - 2
.github/workflows/run-tests.yml

@@ -35,7 +35,7 @@ jobs:
       - name: Install Rust
       - name: Install Rust
         uses: dtolnay/rust-toolchain@stable
         uses: dtolnay/rust-toolchain@stable
         with:
         with:
-          toolchain: stable
+          toolchain: 1.81.0
 
 
       - name: Cache Rust
       - name: Cache Rust
         uses: Swatinem/rust-cache@v2
         uses: Swatinem/rust-cache@v2
@@ -56,7 +56,7 @@ jobs:
       - name: Install Rust
       - name: Install Rust
         uses: dtolnay/rust-toolchain@stable
         uses: dtolnay/rust-toolchain@stable
         with:
         with:
-          toolchain: stable
+          toolchain: 1.81.0
 
 
       - name: Cache Rust
       - name: Cache Rust
         uses: Swatinem/rust-cache@v2
         uses: Swatinem/rust-cache@v2