-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update configuration of commitlint
Signed-off-by: David Bernard <[email protected]>
- Loading branch information
Showing
2 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ permissions: | |
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
branches: ["main"] | ||
pull_request: | ||
branches: [ "main" ] | ||
branches: ["main"] | ||
workflow_dispatch: | ||
inputs: | ||
commit_sha: | ||
|
@@ -29,9 +29,7 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
- name: Check Commit Lint | ||
with: | ||
configFile: "./.commitlint.config.js" | ||
uses: wagoid/[email protected] | ||
uses: wagoid/commitlint-github-action@v6 | ||
|
||
lint_check: | ||
name: Rust - lint_${{ matrix.lint_projects }} | ||
|
@@ -63,14 +61,14 @@ jobs: | |
uses: actions/cache@v4 | ||
continue-on-error: false | ||
with: | ||
path: | | ||
~/.cargo/bin | ||
~/.cargo/registry | ||
~/.cargo/git/db/ | ||
key: ${{ runner.os }}-sdk-rust-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-sdk-rust- | ||
path: | | ||
~/.cargo/bin | ||
~/.cargo/registry | ||
~/.cargo/git/db/ | ||
key: ${{ runner.os }}-sdk-rust-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-sdk-rust- | ||
- name: Check cargo version | ||
run: cargo --version | ||
- name: Run ${{ matrix.lint_projects }} | ||
run: make -f Makefile lint_${{ matrix.lint_projects }} | ||
run: make -f Makefile lint_${{ matrix.lint_projects }} |
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