Skip to content

Add a file writer base class & start setting up an implementation to … #2

Add a file writer base class & start setting up an implementation to …

Add a file writer base class & start setting up an implementation to … #2

Workflow file for this run

name: Run clang-format Linter
on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
container: ghcr.io/hyperk/clang_format:latest
steps:
- uses: actions/checkout@v2
- name: make_safe
run: git config --global --add safe.directory '*'
- name: format
run: git clone https://github.com/hyperk/hk-ClangFormat.git && cd hk-ClangFormat && ./run.sh && cd .. && rm -rf hk-ClangFormat && git restore OriginalWCSim/cmake/ OriginalWCSim/include/WCSimDetectorConstruction.hh OriginalWCSim/include/WCSimPMTObject.hh OriginalWCSim/src/WCSimPMTObject.cc OriginalWCSim/src/TJNuBeamFlux.cc OriginalWCSim/src/WCSimRootEvent.cc OriginalWCSim/src/WCSimRootGeom.cc
- uses: EndBug/add-and-commit@v9
with:
author_name: Clang Robot
author_email: [email protected]
message: 'Committing clang-format changes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}