GalaxyCogs/.forgejo/workflows/pylint.yaml

20 lines
470 B
YAML

name: Actions
on:
push:
branches:
- 'main'
pull_request:
jobs:
Lint Code (Pylint):
runs-on: docker
container: www.coastalcommits.com/cswimr/actions:galaxycogs
steps:
- name: Checkout
uses: actions/checkout@v3
- 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')