Skip to content

XHTML?

XHTML? #332

Workflow file for this run

# This file is maintained in https://github.com/WeblateOrg/meta/
name: ESLint
on:
push:
branches-ignore:
- "dependabot/**"
- weblate
pull_request:
jobs:
eslint:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: |
~/.cache/pip
~/.cache/pre-commit
key: ${{ runner.os }}-pip-lint-${{ hashFiles('**/requirements*.txt') }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r requirements-lint.txt
- name: Run eslint
run: |
echo "::add-matcher::.github/matchers/eslint-compact.json"
pre-commit run eslint --all
echo "::remove-matcher owner=eslint-compact::"