QOJ: The 3rd Universal Cup. Stage 13: Sendai #250
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run clang-format Linter | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: DoozyX/clang-format-lint-action@v0.17 | |
with: | |
source: '.' | |
extensions: 'cpp' | |
clangFormatVersion: 14 | |
inplace: True | |
- uses: EndBug/add-and-commit@v9.1.4 | |
with: | |
author_name: Clang Robot | |
author_email: i@macesuted.moe | |
message: 'Committing clang-format changes' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |