Skip to content

Commit

Permalink
[Feat] add actions to check style of code
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky committed Oct 25, 2024
1 parent c9eca09 commit 10409ca
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint

on: push

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0


- name: Setup nodejs
uses: actions/setup-node@v4
with:
node-version: latest

- name: Install commit message convention lib
run: npm i commitlint-config-wizardoc -D

- name: Check commit message
uses: wagoid/commitlint-github-action@v4

- uses: actions-rs/cargo@v1
with:
command: fmt
args: --check

0 comments on commit 10409ca

Please sign in to comment.