mirror of
https://gitlab.com/keys.openpgp.org/hagrid.git
synced 2025-10-06 00:23:08 +02:00
If you don't have toolchain installed and you use rustup run: $ rustup toolchain install --profile default --component rustfmt,clippy 1.90 NOTE: It might be that you have 1.90.0 installed as stable toolchain, in that case you still have to run the above command to install exactly 1.90. Command: `just upgrade-rust` Changes: - Upgrade version of used toolchain in the following places: - .gitlab-ci.yml - Cargo.toml - clippy.toml - rust-toolchain.toml
14 lines
468 B
YAML
14 lines
468 B
YAML
build, test and lint:
|
|
image: "rust:1.90-trixie"
|
|
interruptible: true
|
|
script:
|
|
- apt update -qy
|
|
- apt install -qy build-essential pkg-config clang libclang-dev libssl-dev gettext zsh
|
|
- rustup component add clippy
|
|
- rustup component add rustfmt
|
|
- ./make-translated-templates
|
|
- cargo build
|
|
- cargo clippy --tests --no-deps --workspace
|
|
- cargo fmt --all -- --check
|
|
- cargo test --workspace
|