From: Johannes Demel Date: Tue, 17 Mar 2020 20:53:08 +0000 (+0100) Subject: [PATCH 4/7] clang-format: Update PR with GitHub Action X-Git-Tag: archive/raspbian/2.2.1-2+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0081641ce5c31f660555a0beca8ee97841e77a39;p=volk.git [PATCH 4/7] clang-format: Update PR with GitHub Action Gbp-Pq: Name 0004-clang-format-Update-PR-with-GitHub-Action.patch --- 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