feat: Add train category expander #2561
This file contains hidden or 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: lint | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Install npm packages | |
| run: npm install | |
| - name: Run pre-commit | |
| run: |- | |
| uvx --with pre-commit-uv pre-commit run --all-files | |
| - name: Print changed files | |
| if: failure() | |
| run: |- | |
| git add . && git status -vv |