Add cache in github actions for python and poetry #204
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] | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: basic_games | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: basic_games | |
| - name: Setup and Cache Python Poetry | |
| uses: packetcoders/action-setup-cache-python-poetry@v1.2.0 | |
| with: | |
| python-version: 3.12 | |
| - name: Lint | |
| run: poetry run poe lint |