Skip to content
Snippets Groups Projects
Commit 208e2108 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Merge branch '19-not-checking-format-in-ci' into 'main'

Resolve "Not checking format in CI"

Closes #19

See merge request orestis.malaspin/rust-101!32
parents 983d0466 b6406e41
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ before_script: ...@@ -7,6 +7,7 @@ before_script:
- mkdir -p $HOME/.cargo/bin - mkdir -p $HOME/.cargo/bin
- curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.31/mdbook-v0.4.31-x86_64-unknown-linux-musl.tar.gz | tar -xz --directory=$HOME/.cargo/bin - curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.31/mdbook-v0.4.31-x86_64-unknown-linux-musl.tar.gz | tar -xz --directory=$HOME/.cargo/bin
- export PATH=$PATH:$HOME/.cargo/bin - export PATH=$PATH:$HOME/.cargo/bin
- rustup component add rustfmt
## ##
## Install ssh-agent if not already installed, it is required by Docker. ## Install ssh-agent if not already installed, it is required by Docker.
## ##
......
...@@ -14,4 +14,6 @@ for d in *; do ...@@ -14,4 +14,6 @@ for d in *; do
cargo test --manifest-path $d/Cargo.toml --workspace --verbose cargo test --manifest-path $d/Cargo.toml --workspace --verbose
echo ==================== Running cargo doc for $d ==================== echo ==================== Running cargo doc for $d ====================
cargo doc --manifest-path $d/Cargo.toml cargo doc --manifest-path $d/Cargo.toml
echo ==================== Running cargo fmt for $d ====================
cargo fmt --all --manifest-path $d/Cargo.toml -- --check
done done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment