Add linter workflow (#33)

This commit is contained in:
Lutz Justen
2022-12-01 10:38:14 +01:00
committed by GitHub
parent a381541d1b
commit 876e59409f
23 changed files with 73 additions and 4 deletions

25
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DoozyX/clang-format-lint-action@v0.15
with:
clangFormatVersion: 15
buildify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: thompsonja/bazel-buildifier@v0.4.0
with:
warnings: all