Repository: swimos/swim-rust (language: rust)

Issue:
CI --all-targets
CI builds the project using the deprecated flag of `--all` instead of `--workspace`. CI should also build all targets using `--all-targets`


Discussion / hints:

Fix patch:
diff --git a/.travis.yml b/.travis.yml
index 1b62a7ba2..148a876ff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,7 @@ jobs:
         - RUST_BACKTRACE=1
       script:
         - rustup component add rust-src
-        - cargo test --workspace
+        - cargo test --workspace --all-targets --all-features
     - name: "Clippy, formatting and documentation"
       os: linux
       arch: amd64
@@ -26,12 +26,13 @@ jobs:
       script:
         # This can all be run on one machine to save time
         - rustup component add clippy
+        - rustup component add rust-src
         - rustup component list --installed
         - cargo clippy --version
         - rustup component add rustfmt
         - cargo fmt --version
-        - cargo clippy --all-features --all -- -D warnings
-        - RUSTDOCFLAGS="--cfg docsrs -Dwarnings" cargo doc --lib --no-deps --all-features --all
+        - cargo clippy --all-features --workspace -- -D warnings
+        - RUSTDOCFLAGS="--cfg docsrs -Dwarnings" cargo doc --lib --no-deps --all-features --workspace
         - cargo fmt -- --check
 
 rust:


Test patch:
diff --git a/ci/azure-test-stable.yml b/ci/azure-test-stable.yml
index 0958fa45e..7b46dc367 100644
--- a/ci/azure-test-stable.yml
+++ b/ci/azure-test-stable.yml
@@ -27,7 +27,7 @@ jobs:
         parameters:
           rust_version: ${{ parameters.rust }}
       - template: azure-install-sccache.yml
-      - script: cargo test --verbose --all-features --all
+      - script: cargo test --verbose --all-features --workspace --all-targets
         env:
           RUST_BACKTRACE: 1
         displayName: cargo test --all-targets