Skip to content

Add lint and spellcheck workflow #1

Add lint and spellcheck workflow

Add lint and spellcheck workflow #1

Workflow file for this run

name: Integration
on:
pull_request:
branches:
- main
- 'release/**'
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint --rcfile=pylintrc $(git ls-files '*.py')
spellcheck:
name: spellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rojopolis/[email protected]
name: spellcheck
with:
config_path: .spellcheck.yaml