chore(deps): bump reviewdog/action-actionlint from a7cfc5e60a6b364e9fa5f29ac59c5cbf83b4bc32 to 2cf7e03973cb2a8bc96dc3796df09af9a4d8f76e #1953
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: Check type hinting | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| jobs: | |
| mypy: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| lib: | |
| - scaleway-core | |
| - scaleway | |
| - scaleway-async | |
| python-version: [ '3.10' ,'3.11', '3.12', '3.13' ] | |
| defaults: | |
| run: | |
| working-directory: ${{ matrix.lib }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install poetry | |
| run: pipx install poetry | |
| - name: Set up Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "poetry" | |
| - name: Install dependencies and library | |
| run: poetry install | |
| - name: Check typing | |
| run: poetry run mypy --install-types --non-interactive --strict --no-warn-unused-ignores "$(echo "${{ matrix.lib }}" | tr "-" "_")" | |
| ty: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| lib: | |
| - scaleway-core | |
| - scaleway | |
| - scaleway-async | |
| python-version: [ '3.10' ,'3.11', '3.12', '3.13' ] | |
| defaults: | |
| run: | |
| working-directory: ${{ matrix.lib }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install poetry | |
| run: pipx install poetry | |
| - name: Set up Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "poetry" | |
| - name: Install dependencies and library | |
| run: poetry install | |
| - name: Check typing | |
| run: poetry run ty check | |
| pyrefly: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| lib: | |
| - scaleway-core | |
| - scaleway | |
| - scaleway-async | |
| python-version: [ '3.10' ,'3.11', '3.12', '3.13' ] | |
| defaults: | |
| run: | |
| working-directory: ${{ matrix.lib }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install poetry | |
| run: pipx install poetry | |
| - name: Set up Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "poetry" | |
| - name: Install dependencies and library | |
| run: poetry install | |
| - name: Check typing with pyrefly | |
| run: poetry run pyrefly check |