From 0081641ce5c31f660555a0beca8ee97841e77a39 Mon Sep 17 00:00:00 2001 From: Johannes Demel Date: Tue, 17 Mar 2020 21:53:08 +0100 Subject: [PATCH] [PATCH 4/7] clang-format: Update PR with GitHub Action Gbp-Pq: Name 0004-clang-format-Update-PR-with-GitHub-Action.patch --- .github/workflows/check-pr-formatting.yml | 19 +++++++++++++++++++ include/volk/volk_common.h | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/check-pr-formatting.yml diff --git a/.github/workflows/check-pr-formatting.yml b/.github/workflows/check-pr-formatting.yml new file mode 100644 index 0000000..b1d2d83 --- /dev/null +++ b/.github/workflows/check-pr-formatting.yml @@ -0,0 +1,19 @@ +name: Check PR Formatting + +on: + push: + pull_request: + paths-ignore: + - 'tmpl/' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: gnuradio/clang-format-lint-action@v0.5-4 + with: + source: '.' + exclude: './volk' + extensions: 'c,cc,cpp,cxx,h,hh' \ No newline at end of file diff --git a/include/volk/volk_common.h b/include/volk/volk_common.h index 8167d23..7e78358 100644 --- a/include/volk/volk_common.h +++ b/include/volk/volk_common.h @@ -69,7 +69,7 @@ //////////////////////////////////////////////////////////////////////// #if defined(_MSC_VER) #pragma warning(disable : 4244) //'conversion' conversion from 'type1' to 'type2', - //possible loss of data + // possible loss of data #pragma warning(disable : 4305) //'identifier' : truncation from 'type1' to 'type2' #endif -- 2.30.2