CLI improvements #16
Workflow file for this run
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: Format and Lint | |
| on: | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| workflow_call: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| lint-python: | |
| name: Format and Lint Python | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Run Ruff | |
| run: uv run ruff check . --output-format=github | |
| - name: Ruff format | |
| run: uv run ruff format . --check | |
| lint-docs: | |
| name: Lint Markdown | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Markdown Lint base-files | |
| uses: DavidAnson/markdownlint-cli2-action@v20 | |
| with: | |
| globs: | | |
| *.md | |
| .github/**/*.md | |
| config: ./.markdownlint.json | |
| # - name: Markdown Lint Docs | |
| # uses: DavidAnson/markdownlint-cli2-action@v20 | |
| # with: | |
| # globs: docs/**/*.md | |
| # config: docs/.markdownlint.json |