Rebased other PR from master #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run the linting suite for the xmldiff package | |
# Based on https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Lint package | |
on: [pull_request, push] | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
build: | |
name: Run pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Run pre-commit hooks | |
uses: pre-commit/action@v3.0.0 |