bookwyrm/.github/workflows/pylint.yml

28 lines
494 B
YAML
Raw Permalink Normal View History

2021-06-18 18:36:45 +00:00
name: Pylint
2021-08-02 23:08:41 +00:00
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
2021-06-18 18:36:45 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2023-01-01 20:06:35 +00:00
- uses: actions/checkout@v3
2021-06-18 18:57:11 +00:00
- name: Set up Python 3.9
2023-01-01 20:06:35 +00:00
uses: actions/setup-python@v4
2021-06-18 18:36:45 +00:00
with:
2021-06-18 18:57:11 +00:00
python-version: 3.9
2021-06-18 19:08:15 +00:00
- name: Install Dependencies
2021-06-18 18:36:45 +00:00
run: |
python -m pip install --upgrade pip
2021-06-18 19:08:15 +00:00
pip install -r requirements.txt
2021-06-18 18:36:45 +00:00
- name: Analysing the code with pylint
run: |
pylint bookwyrm/
2021-06-18 20:23:06 +00:00