File tree Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ permissions:
7
7
8
8
on :
9
9
push :
10
- branches : [ "main" ]
10
+ branches : ["main"]
11
11
pull_request :
12
- branches : [ "main" ]
12
+ branches : ["main"]
13
13
workflow_dispatch :
14
14
inputs :
15
15
commit_sha :
29
29
with :
30
30
fetch-depth : 0
31
31
- name : Check Commit Lint
32
- with :
33
- configFile : " ./.commitlint.config.js"
34
- uses : wagoid/commitlint-github-action@v6.0.1
32
+ uses : wagoid/commitlint-github-action@v6
35
33
36
34
lint_check :
37
35
name : Rust - lint_${{ matrix.lint_projects }}
@@ -63,14 +61,14 @@ jobs:
63
61
uses : actions/cache@v4
64
62
continue-on-error : false
65
63
with :
66
- path : |
67
- ~/.cargo/bin
68
- ~/.cargo/registry
69
- ~/.cargo/git/db/
70
- key : ${{ runner.os }}-sdk-rust-${{ hashFiles('**/Cargo.lock') }}
71
- restore-keys : |
72
- ${{ runner.os }}-sdk-rust-
64
+ path : |
65
+ ~/.cargo/bin
66
+ ~/.cargo/registry
67
+ ~/.cargo/git/db/
68
+ key : ${{ runner.os }}-sdk-rust-${{ hashFiles('**/Cargo.lock') }}
69
+ restore-keys : |
70
+ ${{ runner.os }}-sdk-rust-
73
71
- name : Check cargo version
74
72
run : cargo --version
75
73
- name : Run ${{ matrix.lint_projects }}
76
- run : make -f Makefile lint_${{ matrix.lint_projects }}
74
+ run : make -f Makefile lint_${{ matrix.lint_projects }}
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ module.exports = {
2
2
parserPreset : 'conventional-changelog-conventionalcommits' ,
3
3
rules : {
4
4
'body-leading-blank' : [ 1 , 'always' ] ,
5
- 'body-max-line-length' : [ 2 , 'always' , 100 ] ,
5
+ 'body-max-line-length' : [ 2 , 'always' , 120 ] ,
6
6
'footer-leading-blank' : [ 1 , 'always' ] ,
7
- 'footer-max-line-length' : [ 2 , 'always' , 100 ] ,
8
- 'header-max-length' : [ 2 , 'always' , 100 ] ,
7
+ 'footer-max-line-length' : [ 2 , 'always' , 120 ] ,
8
+ 'header-max-length' : [ 2 , 'always' , 120 ] ,
9
9
'subject-case' : [
10
10
2 ,
11
11
'never' ,
You can’t perform that action at this time.
0 commit comments