1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-09 00:29:14 +01:00

Add linter job

This commit is contained in:
John Maguire 2020-05-24 16:28:25 +01:00
parent 62d2f0de9b
commit 7e1379ec5d

View File

@ -8,6 +8,18 @@ on:
- master
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:
name: Push translation sources to Transifex
if: github.ref == 'refs/heads/master'