Files
django-example-app/.github/workflows/ci.yml
Workflow config file is invalid. Please check your config file: yaml: line 22: mapping values are not allowed in this context
Basyrov Rustam 531e2dd76b pylint
2025-06-05 15:41:14 +03:00

25 lines
593 B
YAML

name: CI-pipeline
on:
workflow_dispatch:
push:
branches:
- dev
jobs:
linters:
runs-on: ubuntu-latest
steps:
- name: Getting the codebase
uses: actions/checkout@v4
with:
ref: dev
- name: Lint the Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
- name: Lint the source code
uses: Silleellie/pylint-github-action@v2.1
with:
lint-path: mysite # lint src package
python-version: 3.11 # python version which will lint the package