Add linter job
This commit is contained in:
parent
62d2f0de9b
commit
7e1379ec5d
|
@ -8,6 +8,18 @@ on:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
lint:
|
||||||
|
name: Lint
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- name: clang-format
|
||||||
|
uses: DoozyX/clang-format-lint-action@v0.6
|
||||||
|
with:
|
||||||
|
style: "{BasedOnStyle: Google, DerivePointerBinding: false, Standard: Cpp11}"
|
||||||
|
source: ./src
|
||||||
|
clangFormatVersion: 9
|
||||||
|
|
||||||
|
|
||||||
push_translations:
|
push_translations:
|
||||||
name: Push translation sources to Transifex
|
name: Push translation sources to Transifex
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
|
Loading…
Reference in New Issue