-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add clippy, fmt, cargo-check * separate from pre-commit * add missing shell * rename action * rename action * add sudo * add sudo * update to ubuntu 20.04 * update to ubuntu 20.04 * add cargo fmt * add setup env in main ci * use rust nightly in ci * add rustfmt, clippy in components
- Loading branch information
Showing
5 changed files
with
51 additions
and
15 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: setup-environment | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: nightly | ||
components: rustfmt, clippy | ||
override: true | ||
- name: Install ROS | ||
uses: ros-tooling/setup-ros@v0.6 | ||
with: | ||
required-ros-distributions: noetic | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Install dependencies | ||
shell: bash | ||
run: sudo apt install -y protobuf-compiler |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#![allow(non_camel_case_types)] | ||
// because of the generated code by tonic | ||
#![allow(clippy::redundant_async_block)] | ||
pub mod grpc; |
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