diff --git a/.github/workflows/build-lint-test-and-upload.yml b/.github/workflows/build-lint-test-and-upload.yml index 03f908e7..b4f40512 100644 --- a/.github/workflows/build-lint-test-and-upload.yml +++ b/.github/workflows/build-lint-test-and-upload.yml @@ -77,11 +77,7 @@ jobs: sleep 5 # Ensure azurite has fully finished creating the endpoint. az storage container create -n modelardb --connection-string 'DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;' - # Update Rust. - - name: Rustup Update - run: rustup update - - name: Rustup Add llvm-tools - run: rustup component add llvm-tools-preview + # Install Cargo Tools. - name: Cargo Install grcov run: cargo install grcov - name: Cargo Install machete @@ -144,10 +140,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - # Update Rust. - - name: Rustup Update - run: rustup update - # Build Rust Binaries. - name: Cargo Build Binaries run: cargo build --release --jobs 1 --verbose # --jobs 1 reduce resource use. diff --git a/docs/user/README.md b/docs/user/README.md index e2d5bdce..86758553 100644 --- a/docs/user/README.md +++ b/docs/user/README.md @@ -37,7 +37,8 @@ The following commands are for Ubuntu Server. However, equivalent commands shoul ### All -2. Install the latest stable [Rust Toolchain](https://rustup.rs/). +2. Install version 1.97.1 of the [Rust Toolchain](https://rustup.rs/). + - If your use `rustup` it will automatically install the correct toolchain when you run `cargo` commands. 3. Clone the repository: `git clone https://github.com/ModelarData/ModelarDB-RS` 4. Build, test, and run the system using Cargo: - Debug Build: `cargo build` diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..7a9b2b65 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "1.97.1" +components = ["clippy", "llvm-tools-preview"] +profile = "minimal" \ No newline at end of file