GalaxyCogs/.forgejo/workflows/pylint.yaml
2024-01-29 15:29:50 -05:00

20 lines
493 B
YAML

name: Actions
on:
push:
branches:
- 'main'
pull_request:
jobs:
Lint Code (Pylint):
runs-on: docker
container: coastalcommits.com/seaswimmerthefsh/actionscontainers-galaxycogs:latest
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')