mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
ci: add pipeline segment to run clang-tidy (#49072)
* ci: add pipeline segment to run clang-tidy * chore: set -header-filter='' for clang-tidy Breaking change in `clang-tidy` 22.0.0: > clang-tidy now displays warnings from all non-system headers by default. > Previously, users had to explicitly opt-in to header warnings using > -header-filter=’.*’. To disable warnings from non-system, set > -header-filter to an empty string.
This commit is contained in:
9
.github/actions/build-electron/action.yml
vendored
9
.github/actions/build-electron/action.yml
vendored
@@ -26,6 +26,9 @@ inputs:
|
||||
is-asan:
|
||||
description: 'The ASan Linux build'
|
||||
required: false
|
||||
upload-out-gen-artifacts:
|
||||
description: 'Whether to upload the out/${dir}/gen artifacts'
|
||||
required: false
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
@@ -274,3 +277,9 @@ runs:
|
||||
with:
|
||||
name: src_artifacts_${{ env.ARTIFACT_KEY }}
|
||||
path: ./src_artifacts_${{ inputs.artifact-platform }}_${{ inputs.target-arch }}
|
||||
- name: Upload Out Gen Artifacts ${{ inputs.step-suffix }}
|
||||
if: ${{ inputs.upload-out-gen-artifacts == 'true' }}
|
||||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
|
||||
with:
|
||||
name: out_gen_artifacts_${{ env.ARTIFACT_KEY }}
|
||||
path: ./src/out/Default/gen
|
||||
|
||||
Reference in New Issue
Block a user