Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test_compiler_zoo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build and Test - Compiler Zoo

on: [pull_request, workflow_dispatch]
on: [pull_request, workflow_dispatch, push]

env:
GH_ACTIONS_TOOLCHAIN: .github/workflows/toolchains/gh-actions.cmake
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/clang_format_lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run clang-format

on: [push]

jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DoozyX/clang-format-lint-action@v0.16
with:
source: 'include test'
extensions: 'hpp,cxx,hpp.in,h,c'
clangFormatVersion: 15
inplace: True
- uses: EndBug/add-and-commit@v4
with:
author_name: Clang Robot
author_email: robot@example.com
message: 'Committing clang-format changes'
env:
GITHUB_TOKEN: ${{ secrets.CI_TOKEN }}
Loading