mirror of
https://github.com/nikdoof/simple-webfinger.git
synced 2025-12-13 10:22:15 +00:00
Migrate from Poetry to uv package manager
Co-authored-by: nikdoof <170514+nikdoof@users.noreply.github.com>
This commit is contained in:
16
.github/workflows/tests.yaml
vendored
16
.github/workflows/tests.yaml
vendored
@@ -13,10 +13,12 @@ jobs:
|
||||
python-version: ["3.12"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
version: "latest"
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
run: uv python install ${{ matrix.python-version }}
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
make tests
|
||||
@@ -28,10 +30,12 @@ jobs:
|
||||
python-version: ["3.12"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
version: "latest"
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
run: uv python install ${{ matrix.python-version }}
|
||||
- name: Lint with ruff
|
||||
run: |
|
||||
make lint
|
||||
|
||||
Reference in New Issue
Block a user