This repository was archived by the owner on Nov 25, 2025. It is now read-only.
build(deps): bump python-semantic-release from 7.31.4 to 10.5.2 #393
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: wdldoc Lint | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v2 | |
| - name: Setup Python | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: '3.x' | |
| - name: Cache Dependencies | |
| uses: actions/cache@v1 | |
| with: | |
| path: ~/.cache/pypoetry/ | |
| key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-poetry- | |
| - name: Install Dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install setuptools | |
| python3 -m pip install poetry | |
| poetry config virtualenvs.create false | |
| poetry install | |
| - run: | | |
| poetry run pylint wdldoc | |
| poetry run mypy wdldoc --ignore-missing-imports | |
| style: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: lgeiger/black-action@v1.0.1 | |
| with: | |
| args: "wdldoc --check" |