CI: clang-tidy on PR

This commit is contained in:
redtide 2024-02-20 16:32:55 +01:00
parent 35bc2ab618
commit 910f43478d
No known key found for this signature in database

View file

@ -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