Skip to content

Commit

Permalink
feat: use pyproject.toml and uv publish pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
ifooth committed Nov 5, 2024
1 parent a69e16f commit bced733
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ jobs:
lint:
name: lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4 # 拉取最新代码
uses: actions/checkout@v4

- name: Set up python
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.10.12" # 选择您的 Python 版本
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4 # 拉取最新代码
uses: actions/checkout@v4

- name: Set up python
uses: actions/setup-python@v5
with:
python-version: "3.10.12" # 选择您的 Python 版本
python-version: "3.8"

- name: Install uv
uses: astral-sh/setup-uv@v3
Expand Down

0 comments on commit bced733

Please sign in to comment.