-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
39 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,11 @@ jobs: | |
- name: Search packages in this repository | ||
id: list_packages | ||
run: | | ||
echo ::set-output name=package_list::$(colcon list --names-only) | ||
{ | ||
echo 'package_list<<EOF' | ||
colcon list --names-only | ||
echo EOF | ||
} >> "$GITHUB_OUTPUT" | ||
- name: Setup ROS environment | ||
uses: ros-tooling/[email protected] | ||
|
@@ -72,10 +76,6 @@ jobs: | |
cd - | ||
done | ||
- name: Install cargo-ament-build | ||
run: | | ||
cargo install --debug cargo-ament-build | ||
- name: Build and test | ||
id: build | ||
uses: ros-tooling/[email protected] | ||
|
@@ -93,9 +93,9 @@ jobs: | |
echo "Running clippy in $path" | ||
# Run clippy for all features except generate_docs (needed for docs.rs) | ||
if [ "$(basename $path)" = "rclrs" ]; then | ||
cargo clippy --all-targets -F default,dyn_msg -- -D warnings | ||
cargo clippy --no-deps --all-targets -F default,dyn_msg -- -D warnings | ||
else | ||
cargo clippy --all-targets --all-features -- -D warnings | ||
cargo clippy --no-deps --all-targets --all-features -- -D warnings | ||
fi | ||
cd - | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,11 @@ jobs: | |
- name: Search packages in this repository | ||
id: list_packages | ||
run: | | ||
echo ::set-output name=package_list::$(colcon list --names-only) | ||
{ | ||
echo 'package_list<<EOF' | ||
colcon list --names-only | ||
echo EOF | ||
} >> "$GITHUB_OUTPUT" | ||
- name: Setup ROS environment | ||
uses: ros-tooling/[email protected] | ||
|
@@ -72,10 +76,6 @@ jobs: | |
cd - | ||
done | ||
- name: Install cargo-ament-build | ||
run: | | ||
cargo install --debug cargo-ament-build | ||
- name: Build and test | ||
id: build | ||
uses: ros-tooling/[email protected] | ||
|
@@ -93,9 +93,9 @@ jobs: | |
echo "Running clippy in $path" | ||
# Run clippy for all features except generate_docs (needed for docs.rs) | ||
if [ "$(basename $path)" = "rclrs" ]; then | ||
cargo clippy --all-targets -F default,dyn_msg -- -D warnings | ||
cargo clippy --no-deps --all-targets -F default,dyn_msg -- -D warnings | ||
else | ||
cargo clippy --all-targets --all-features -- -D warnings | ||
cargo clippy --no-deps --all-targets --all-features -- -D warnings | ||
fi | ||
cd - | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters