mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
31 lines
680 B
YAML
31 lines
680 B
YAML
name: lint-cpp
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event_name == 'workflow_dispatch' && inputs.run-id || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
run-id:
|
|
type: string
|
|
description: The workflow ID to download artifacts (skips the build step)
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/lint-cpp.yml"
|
|
- "**/*.cpp"
|
|
- "src/deps/**/*"
|
|
- "CMakeLists.txt"
|
|
|
|
jobs:
|
|
lint-cpp:
|
|
if: ${{ !inputs.run-id }}
|
|
name: Lint C++
|
|
uses: ./.github/workflows/run-lint-cpp.yml
|
|
secrets: inherit
|
|
with:
|
|
pr-number: ${{ github.event.number }}
|