Skip to content

Add cache in github actions for python and poetry #202

Add cache in github actions for python and poetry

Add cache in github actions for python and poetry #202

Workflow file for this run

name: linters
on: [push, pull_request]
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.1.0
with:
python-version: 3.12
poetry-virtualenvs-in-project: true
poetry-install-dependencies: false
- name: Install dependencies
run: |
cd basic_games
poetry --no-root install
- name: Lint
run: |
cd basic_games
poetry run poe lint