Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Merge pull request #70 from LDMX-Software/68-meta-issue-for-several-t… #72

Merge pull request #70 from LDMX-Software/68-meta-issue-for-several-t…

Merge pull request #70 from LDMX-Software/68-meta-issue-for-several-t… #72

Workflow file for this run

# Setup workflow to test if format matches that specified in the .clang-format file
name: clang-format
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the trunk branch
push:
branches: [ trunk ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: DoozyX/[email protected]
with:
source: './include/Hcal ./include/Hcal/Event ./src/Hcal ./src/Hcal/Event'
exclude: ''
extensions: 'h,cpp'
clangFormatVersion: 12
inplace: True
style: google
- uses: EndBug/add-and-commit@v4
with:
author_name: LDMX Bot
author_email: [email protected]
message: 'Committing clang-format changes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}