RGB-WG / rgb-core

RGB Core Library: consensus validation for private & scalable client-validated smart contracts on Bitcoin & Lightning
https://spec.rgb.tech
Apache License 2.0
207 stars 52 forks source link

feat: add codespell lint job into workflows #193

Closed vuittont60 closed 9 months ago

vuittont60 commented 9 months ago

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

So I want to add codespell lint job into workflows.

shuimuliang commented 9 months ago

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
vuittont60 commented 9 months ago

@shuimuliang awesome! Thanks for your detailed solution.