mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 06:25:56 +03:00
57e4053216
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
20 lines
514 B
YAML
20 lines
514 B
YAML
name: Clang Format Checker
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: cpp-linter/cpp-linter-action@v2.1.1
|
|
id: linter
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
style: file
|
|
lines-changed-only: true
|
|
version: 14
|
|
- name: Fail fast?!
|
|
if: steps.linter.outputs.checks-failed > 0
|
|
run: echo "Some files failed the linting checks!"
|