Skip to content

Commit 977cf56

Browse files
committed
Add cache in github actions for python and poetry
1 parent f14428a commit 977cf56

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/linters.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ jobs:
99
- uses: actions/checkout@v4
1010
with:
1111
path: "basic_games"
12-
- name: Set up Python
13-
uses: actions/setup-python@v2
12+
- name: Setup Poetry environment
13+
uses: 5yutan5/setup-poetry-env@v1.1.0
1414
with:
1515
python-version: 3.12
16-
- uses: abatilo/actions-poetry@v2
17-
- name: Install
16+
poetry-virtualenvs-in-project: true
17+
poetry-install-dependencies: false
18+
- name: Install dependencies
1819
run: |
1920
cd basic_games
2021
poetry --no-root install

0 commit comments

Comments
 (0)