feat: 使用 typing-inspection 来分析类型注解 (#173) #115
This file contains hidden or 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
| name: Lint Other Files | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '**.py' | |
| pull_request: | |
| paths-ignore: | |
| - '**.py' | |
| workflow_dispatch: | |
| jobs: | |
| prettier: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: ./.github/actions/setup-node | |
| - run: pnpm run prettier | |
| eslint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: ./.github/actions/setup-node | |
| - run: pnpm run eslint | |
| markdownlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: ./.github/actions/setup-node | |
| - run: pnpm run markdownlint | |
| autocorrect: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: huacnlee/autocorrect-action@main |