mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Delete cpp-linter.yml
Linter was not that useful, so removing it.
This commit is contained in:
38
.github/workflows/cpp-linter.yml
vendored
38
.github/workflows/cpp-linter.yml
vendored
@@ -1,38 +0,0 @@
|
||||
name: cpp-linter
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore: "tests/**"
|
||||
|
||||
jobs:
|
||||
cpp-linter:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: cmake
|
||||
run: CXX=clang++-12 cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .
|
||||
- uses: shenxianpeng/cpp-linter-action@master
|
||||
id: linter
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
version: 12
|
||||
style: file
|
||||
lines-changed-only: true
|
||||
tidy-checks: >-
|
||||
bugprone-*,
|
||||
performance-*,
|
||||
readability-*,
|
||||
portability-*,
|
||||
modernize-*,
|
||||
clang-analyzer-*,
|
||||
cppcoreguidelines-*,
|
||||
-modernize-use-trailing-return-type
|
||||
|
||||
- name: Check Result
|
||||
if: steps.linter.outputs.checks-failed > 0
|
||||
run: |
|
||||
echo "Failed linting."
|
||||
Reference in New Issue
Block a user