File tree 4 files changed +11
-11
lines changed
4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ jobs:
25
25
pip install .
26
26
pip install -r requirements-dev.txt
27
27
28
- - name : Add tag to latest commit for testing
29
- run : |
30
- git config user.name 'github-actions'
31
- git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
32
- git push --delete origin latest || true
33
- git tag -a latest -m 'Retag latest commit'
34
- git push origin latest
28
+ # - name: Add tag to latest commit for testing
29
+ # run: |
30
+ # git config user.name 'github-actions'
31
+ # git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
32
+ # git push --delete origin latest || true
33
+ # git tag -a latest -m 'Retag latest commit'
34
+ # git push origin latest
35
35
36
36
- name : Run tests and collect coverage
37
37
run : |
Original file line number Diff line number Diff line change 34
34
language : system
35
35
types : [python]
36
36
- repo : https://github.com/shenxianpeng/cpp-linter-hooks
37
- rev : d3fc88c84b93708b4e5eb12c72cdbf421599cd40
37
+ rev : v0.1.0
38
38
hooks :
39
39
- id : clang-format
40
40
args : [--style=Google, --version=13]
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ The example of using custom config: `.clang-format` and `.clang-tidy`
27
27
` ` ` yaml
28
28
repos:
29
29
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
30
- rev: v0.1.0 # Use the ref you want to point at
30
+ rev: v0.1.0
31
31
hooks:
32
32
- id: clang-format
33
33
args: [--style=.clang-format] # path/to/.clang-format
@@ -40,7 +40,7 @@ The example of using any version of [clang-tools](https://github.com/shenxianpen
40
40
` ` ` yaml
41
41
repos:
42
42
- repo: https://github.com/shenxianpeng/cpp-linter-hooks
43
- rev: v0.1.0 # Use the ref you want to point at
43
+ rev: v0.1.0
44
44
hooks:
45
45
- id: clang-format
46
46
args: [--style=Google, --version=13]
Original file line number Diff line number Diff line change 5
5
name = 'cpp_linter_hooks' ,
6
6
description = 'Automatically check c/c++ with clang-format and clang-tidy' ,
7
7
url = 'https://github.com/shenxianpeng/cpp-linter-hooks' ,
8
- version = '0.0.1 ' ,
8
+ version = '0.1.0 ' ,
9
9
author = "Peter Shen" ,
10
10
11
11
license = "MIT" ,
You can’t perform that action at this time.
0 commit comments