Skip to content

Commit

Permalink
Fix trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed May 31, 2024
1 parent a323bfb commit 830f4f6
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,28 @@
name: Code style checks

on:
pull_request
pull_request:
paths:
- '.github/workflows/code_style.yml'
- 'cpp/**'

concurrency:
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
format-check:
name: Formatting Check
name: Format Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: 'cpp/core'
exclude: ''
- check: 'cpp/velox'
exclude: ''
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++ programs.
- name: Run clang-format style check for C/C++
uses: jidicula/[email protected]
with:
clang-format-version: '15'
check-path: ${{ matrix.path['check'] }}
check-path: './cpp/'
fallback-style: 'Google' # optional
- name: Format CMake files
- name: Check CMake format
id: cmake-format
uses: PuneetMatharu/[email protected]
with:
Expand All @@ -50,10 +46,8 @@ jobs:
license-check:
name: License Header Check
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Check License Header
run: |
git fetch --recurse-submodules=no origin main ${{github.event.pull_request.base.sha}}
Expand Down

0 comments on commit 830f4f6

Please sign in to comment.