Update dependencies via poetry update (#14) #67
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 | |
on: | |
push: | |
pull_request: | |
branches: | |
- "**" | |
workflow_dispatch: | |
env: | |
PYTHON_VERSION: '3.11.7' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Poetry | |
shell: bash | |
run: pipx install "poetry==1.8.1" | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "${{ env.PYTHON_VERSION }}" | |
cache: 'poetry' | |
- name: Install Dependencies | |
shell: bash | |
run: poetry install | |
- name: Run lint | |
shell: bash | |
run: poetry run pysen run lint |