Add cache in github actions for python and poetry #196
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: linters | |
| on: [push, pull_request] | |
| defaults: | |
| run: | |
| working-directory: ./basic_games | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: "basic_games" | |
| - name: Setup Poetry environment | |
| uses: 5yutan5/setup-poetry-env@v1 | |
| with: | |
| python-version: 3.12 | |
| poetry-virtualenvs-in-project: true | |
| poetry-install--no-root: true | |
| - name: Lint | |
| run: poetry run poe lint |