Skip to content

[Chore::docs] lint pull requests #219

[Chore::docs] lint pull requests

[Chore::docs] lint pull requests #219

Workflow file for this run

name: Lint
on: [push, pull_request]
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@v6
with:
configFile: commitlint.config.ts
code-style:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: rustfmt --check # -- or --
# - run: cargo fmt --all -- --check