GalaxyCogs/.forgejo/workflows/pylint.yaml

21 lines
470 B
YAML
Raw Normal View History

name: Actions
on:
push:
branches:
- 'main'
pull_request:
2023-09-22 18:52:28 -04:00
jobs:
Lint Code (Pylint):
2023-09-22 18:52:28 -04:00
runs-on: docker
container: www.coastalcommits.com/cswimr/actions:galaxycogs
2023-09-22 18:52:28 -04:00
steps:
- name: Checkout
uses: actions/checkout@v3
2023-09-22 18:52:28 -04:00
- name: Install dependencies
run: poetry install --with dev --no-root
- name: Analysing code with Pylint
run: pylint --rcfile .forgejo/workflows/config/.pylintrc $(git ls-files '*.py')