add another re-export #20
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
name: Pre-commit checks | |
on: | |
push: | |
branches: | |
- main | |
- "release/*" | |
pull_request: | |
branches: | |
- main | |
- "release/*" | |
workflow_dispatch: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
pip install pre-commit | |
npm install -g markdownlint-cli2 | |
pre-commit install --install-hooks | |
- name: Run pre-commit hooks | |
run: pre-commit run --all-files |