ci(github): fix lint-and-type action #13
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: lint-and-type | |
on: [push, pull_request] | |
jobs: | |
lint-and-type: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -y python3-poetry | |
poetry self add 'poethepoet[poetry_plugin]' | |
- name: Format | |
run: poetry poe format | |
- name: Check spelling | |
run: poetry poe spell | |
- name: Lint | |
run: poetry poe lint | |
- name: Typecheck | |
run: poetry poe type |