File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 9090 . /opt/ros/${{ matrix.ros_distribution }}/setup.sh
9191 for path in $(colcon list | awk '$3 == "(ament_cargo)" { print $2 }'); do
9292 cd $path
93+ cp Cargo.lock.minimal Cargo.lock
9394 echo "Running clippy in $path"
9495 # Run clippy for all features except generate_docs (needed for docs.rs)
9596 if [ "$(basename $path)" = "rclrs" ]; then
@@ -106,6 +107,7 @@ jobs:
106107 . install/setup.sh
107108 for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "examples_rclrs_minimal_pub_sub" && $1 != "examples_rclrs_minimal_client_service" && $1 != "rust_pubsub" { print $2 }'); do
108109 cd $path
110+ cp Cargo.lock.minimal Cargo.lock
109111 echo "Running cargo test in $path"
110112 # Run cargo test for all features except generate_docs (needed for docs.rs)
111113 if [ "$(basename $path)" = "rclrs" ]; then
@@ -124,6 +126,7 @@ jobs:
124126 . /opt/ros/${{ matrix.ros_distribution }}/setup.sh
125127 for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "examples_rclrs_minimal_pub_sub" && $1 != "examples_rclrs_minimal_client_service" && $1 != "rust_pubsub" { print $2 }'); do
126128 cd $path
129+ cp Cargo.lock.minimal Cargo.lock
127130 echo "Running rustdoc check in $path"
128131 cargo rustdoc -- -D warnings
129132 cd -
You can’t perform that action at this time.
0 commit comments