fix(updater): 修复软件自更新整条链路 #116
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: Check | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main, master] | |
| jobs: | |
| check: | |
| permissions: | |
| contents: read | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| # NOTE: python/node/uv versions must stay in sync with _build.yml | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| - uses: astral-sh/setup-uv@v8.1.0 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: uv sync | |
| - name: Format & schema | |
| run: pnpm check | |
| - name: Lint & typecheck | |
| run: pnpm check:py:fast | |
| - name: Tests | |
| run: pnpm test:py |