mirror of
https://github.com/ilri/csv-metadata-quality-web.git
synced 2025-02-03 08:52:51 +01:00
.github/workflows: update actions
Newer deps and uv instead of pip.
This commit is contained in:
parent
c434669354
commit
c15a68f2d1
15
.github/workflows/python-app.yml
vendored
15
.github/workflows/python-app.yml
vendored
@ -15,17 +15,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python 3.10
|
- name: Install uv
|
||||||
uses: actions/setup-python@v2
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
version: 'latest'
|
||||||
- name: Install dependencies
|
- run: uv sync
|
||||||
run: |
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install flake8 pytest
|
|
||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
||||||
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
|
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
# stop the build if there are Python syntax errors or undefined names
|
||||||
|
Loading…
x
Reference in New Issue
Block a user