switch CI to uv
This commit is contained in:
@@ -16,17 +16,19 @@ jobs:
|
|||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: galactica
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python 3.12
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: "3.12"
|
||||||
cache: 'pip'
|
- name: Install uv
|
||||||
- run: pip install -r requirements.txt
|
uses: astral-sh/setup-uv@v6
|
||||||
|
- name: Set up Python
|
||||||
|
run: uv python install
|
||||||
- name: Install the code linting and formatting tool Ruff
|
- name: Install the code linting and formatting tool Ruff
|
||||||
run: pip install ruff
|
run: uv build
|
||||||
- name: Lint code with Ruff
|
- name: Lint code with Ruff
|
||||||
run: ruff check --output-format=github --target-version=py39
|
run: ruff check --output-format=github --target-version=py39
|
||||||
- name: Check code formatting with Ruff
|
- name: Check code formatting with Ruff
|
||||||
|
|||||||
Reference in New Issue
Block a user