feat: 采集文章收益排行榜记录工作流更新 #1
Workflow file for this run
This file contains 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: Static Check | |
on: | |
push: | |
jobs: | |
static-check-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
cache: "poetry" | |
- name: Install Dependencies | |
run: poetry install --all-extras --no-root | |
- name: Lint With Ruff | |
run: poetry run ruff check --output-format=github . | |
- name: Type checking with Pyright | |
run: poetry run pyright --warnings . |