Skip to content
Snippets Groups Projects
Commit e0fb0f81 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

fix the installation of Rust in the CI (!42)

!39 and !40 changed the CI to use a _toolchain_ file.

however, having `default` as the `$.profile` causes extra useless components to be installed.

this MR sets the `$.profile` to `minimal` in the _toolchain_ file and the `$.components` to `rustfmt` and `clippy`.
parent 7b9104e2
No related branches found
No related tags found
1 merge request!42fix the installation of Rust in the CI
Pipeline #4499 passed
...@@ -19,8 +19,6 @@ workflow: ...@@ -19,8 +19,6 @@ workflow:
fmt: fmt:
stage: fmt stage: fmt
before_script:
- rustup component add rustfmt
script: script:
- make fmt - make fmt
...@@ -34,8 +32,6 @@ test: ...@@ -34,8 +32,6 @@ test:
- apt upgrade --yes - apt upgrade --yes
- apt install protobuf-compiler --yes - apt install protobuf-compiler --yes
- rustup component add clippy
- export NUSHELL_BUILD="nu-$NUSHELL_VERSION-$NUSHELL_ARCH" - export NUSHELL_BUILD="nu-$NUSHELL_VERSION-$NUSHELL_ARCH"
- export PATH="/tmp/:$PATH" - export PATH="/tmp/:$PATH"
......
[toolchain] [toolchain]
profile = "default" profile = "minimal"
channel = "1.75" channel = "1.75"
components = ["rustfmt", "clippy"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment