Skip to content

Commit

Permalink
iox-eclipse-iceoryx#299 Fetch diff files on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dkroenke committed Feb 11, 2022
1 parent 6f58f3d commit 9caf43a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/lint_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:

- name: Checkout
uses: actions/checkout@v2
- id: files
uses: jitterbit/get-changed-files@v1
- run: ./tools/scripts/clang_tidy_check.sh ci_pull_request ${{ steps.files.outputs.added_modified }}
with:
fetch-depth: 0
- run: echo "DIFF_FILES=$(git diff --name-only ${{ github.event.before }}..${{ github.event.after }})" >> $GITHUB_ENV
- run: ./tools/scripts/clang_tidy_check.sh ci_pull_request $DIFF_FILES
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace iox
{
namespace capro
{
/// @brief Used to search for any string
/// @brief Used to search for any string some change
using Wildcard_t = iox::cxx::nullopt_t;
constexpr Wildcard_t Wildcard;

Expand All @@ -41,7 +41,7 @@ enum class Interfaces : uint16_t
{
/// @brief Used for services, which are locally on this system and not coming over a gateway
INTERNAL = 0,
/// @brief Canonical protocol for CAN Bus
/// @brief Canonical protocol for CAN Bus foo
ESOC,
/// @brief SOME/IP
SOMEIP,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace iox
namespace config
{
///
/// @brief Generic configuration for gateways.
/// @brief Generic configuration for gateways. bar
///
struct GatewayConfig
{
Expand Down

0 comments on commit 9caf43a

Please sign in to comment.