Skip to content

Commit fdac8f3

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

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/linters.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ jobs:
88
steps:
99
- uses: actions/checkout@v4
1010
with:
11-
path: "basic_games"
12-
- name: Set up Python
13-
uses: actions/setup-python@v2
11+
path: basic_games
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)