mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 12:43:52 +00:00
chore: use PyPI clang-format package, pinned (#647)
* chore: use PyPI clang-format package, pinned * style: pre-commit.ci fixes * ci: drop unneeded job Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
81b092e085
commit
3b95b94406
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -9,14 +9,6 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-commit:
|
|
||||||
name: Formatting
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions/setup-python@v2
|
|
||||||
- uses: pre-commit/action@v2.0.3
|
|
||||||
|
|
||||||
cuda-build:
|
cuda-build:
|
||||||
name: CUDA build only
|
name: CUDA build only
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
ci:
|
ci:
|
||||||
autoupdate_commit_msg: "chore(deps): pre-commit.ci autoupdate"
|
autoupdate_commit_msg: "chore(deps): pre-commit.ci autoupdate"
|
||||||
autofix_commit_msg: "style: pre-commit.ci fixes"
|
autofix_commit_msg: "style: pre-commit.ci fixes"
|
||||||
skip:
|
|
||||||
- docker-clang-format
|
|
||||||
|
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
@ -23,17 +21,10 @@ repos:
|
|||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
|
||||||
- repo: local
|
- repo: https://github.com/ssciwr/clang-format-hook
|
||||||
|
rev: v12.0.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: docker-clang-format
|
- id: clang-format
|
||||||
name: Docker Clang Format
|
|
||||||
language: docker_image
|
|
||||||
types:
|
|
||||||
- c++
|
|
||||||
entry: unibeautify/clang-format:latest
|
|
||||||
args:
|
|
||||||
- -style=file
|
|
||||||
- -i
|
|
||||||
|
|
||||||
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
- repo: https://github.com/cheshirekow/cmake-format-precommit
|
||||||
rev: v0.6.13
|
rev: v0.6.13
|
||||||
|
Loading…
x
Reference in New Issue
Block a user