diff options
| author | David Lönnhager <david.l@mullvad.net> | 2023-03-27 16:51:05 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2023-03-27 16:51:05 +0200 |
| commit | ee8284d12474e76059ab6059b727a49779859c94 (patch) | |
| tree | 63f2edc1f9f5f124d32aa0087d92ed2c7d89c992 /.github | |
| parent | b2f85417ec78b687c1b4698c8633ad96f16dc898 (diff) | |
| parent | 056d9e0bd11f4a2e614df778ff0a7b2a6bcb67c3 (diff) | |
| download | mullvadvpn-ee8284d12474e76059ab6059b727a49779859c94.tar.xz mullvadvpn-ee8284d12474e76059ab6059b727a49779859c94.zip | |
Merge branch 'add-proto-lint'
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/proto-format-check.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/proto-format-check.yml b/.github/workflows/proto-format-check.yml new file mode 100644 index 0000000000..e88cb3b03d --- /dev/null +++ b/.github/workflows/proto-format-check.yml @@ -0,0 +1,17 @@ +--- +name: Check formatting of proto files +on: + pull_request: + paths: + - '**/*.proto' + workflow_dispatch: +jobs: + check-formatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run clang-format for proto files + uses: jidicula/clang-format-action@v4.11.0 + with: + clang-format-version: 15 + include-regex: ^.*\.proto$ |
