diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 260ef5051bbe36c076d8b93e04032272c00ddbf3..c4b94fafebd20f14d10f88a61b0fb20575315643 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,8 +19,6 @@ workflow: fmt: stage: fmt - before_script: - - rustup component add rustfmt script: - make fmt @@ -34,8 +32,6 @@ test: - apt upgrade --yes - apt install protobuf-compiler --yes - - rustup component add clippy - - export NUSHELL_BUILD="nu-$NUSHELL_VERSION-$NUSHELL_ARCH" - export PATH="/tmp/:$PATH" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index f20bfb3f0e4e52a241dc157db7b8e4410fc661a5..a6c0bd22bab8dc27f792ba798e40a9591c863795 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,4 @@ [toolchain] -profile = "default" +profile = "minimal" channel = "1.75" +components = ["rustfmt", "clippy"]