Skip to content

ADIOS 2 I/O

ADIOS 2 I/O #320

Workflow file for this run

name: clang-format-command
on:
pull_request:
paths:
- '**.cxx'
- '**.hxx'
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
# Checkout the pull request branch, also include all history
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
# This also installs git-clang-format
- name: Install clang-format
run: sudo apt install clang-format
- name: Run clang-format
id: format
run: git clang-format origin/${{ github.base_ref }}
- name: Commit to the PR branch
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Apply clang-format changes"