RGB-WG / rgb-core

RGB Core Library: consensus validation for private & scalable client-validated smart contracts on Bitcoin & Lightning

Home Page:https://spec.rgb.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: add codespell lint job into workflows

vuittont60 opened this issue · comments

Codespell linter tool is very important for code and system quality.

So I want to add codespell lint job into workflows.

FYI

name: Rust CI Test

on:
  push:
    branches: [ main ]
    types: [opened, synchronize, reopened]
  pull_request:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        rust-version: [nightly]

    steps:
    - name: Checkout code
      uses: actions/checkout@v4

    - name: Source code spell checker
      uses: crate-ci/typos@master

@shuimuliang awesome! Thanks for your detailed solution.