simpler lint job
Some checks failed
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been cancelled
Build and deploy the backend to staging / Build and push image (pull_request) Has been cancelled
Run linting on the backend code / Build (pull_request) Failing after 2m24s
Run testing on the backend code / Build (pull_request) Failing after 22s
Some checks failed
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been cancelled
Build and deploy the backend to staging / Build and push image (pull_request) Has been cancelled
Run linting on the backend code / Build (pull_request) Failing after 2m24s
Run testing on the backend code / Build (pull_request) Failing after 22s
This commit is contained in:
@@ -15,17 +15,11 @@ jobs:
|
|||||||
|
|
||||||
- uses: https://gitea.com/actions/checkout@v4
|
- uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
- name: Install uv (manually)
|
- name: Install pylint
|
||||||
run: |
|
run: |
|
||||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
apt-get update && apt-get install -y python3 python3-pip
|
||||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
pip install pylint
|
||||||
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
working-directory: backend
|
|
||||||
run: |
|
|
||||||
uv sync --frozen --no-cache --no-dev
|
|
||||||
|
|
||||||
- name: Run linter
|
- name: Run linter
|
||||||
run: pipenv run pylint src --fail-under=9
|
run: pylint src --fail-under=9
|
||||||
working-directory: backend
|
working-directory: backend
|
||||||
|
|||||||
Reference in New Issue
Block a user