25 lines
553 B
YAML
25 lines
553 B
YAML
---
|
|
name: Pylint
|
|
on: [push]
|
|
|
|
|
|
# XXX need to do stuff with uv
|
|
jobs:
|
|
build:
|
|
runs-on: freebsd
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.11"]
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Install uv and set the Python versionV
|
|
uses: astral-sh/setup-uv@v7
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: install Pylint using uv
|
|
run: |
|
|
uv tool install pylint
|
|
- name: Analyse code with Pylint
|
|
run: |
|
|
uv tool run pylint $(git ls-files '*.py')
|