Skip to content

CI/CD: Linter Action #1

CI/CD: Linter Action

CI/CD: Linter Action #1

Workflow file for this run

name: Lint
on:
# Replace pull_request with pull_request_target if you
# plan to use this action with forks, see the Limitations section
pull_request:
branches:
- main
# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
checks: write
contents: write
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
# Install your linters here
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install Python dependencies
run: pip install pylint
- name: Run linters
uses: wearerequired/lint-action@v2
with:
- pylint: true

Check failure on line 36 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 36, Col: 11): A sequence was not expected