CI: clang-tidy on PR
This commit is contained in:
parent
35bc2ab618
commit
910f43478d
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -19,11 +19,13 @@ env:
|
||||||
# defaults:
|
# defaults:
|
||||||
# shell: pwsh on windows, bash all the rest
|
# shell: pwsh on windows, bash all the rest
|
||||||
# working-directory: ${{ github.workspace }}
|
# working-directory: ${{ github.workspace }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
clang_tidy:
|
clang_tidy:
|
||||||
if: ${{ github.ref_type == 'branch' }}
|
|
||||||
name: Clang Tidy
|
name: Clang Tidy
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue