Skip to content

Commit

Permalink
Update setup-python, cache poetry #1802 (#1834)
Browse files Browse the repository at this point in the history
* Update setup-python, cache poetry

* Update main.yml

* Update Makefile
  • Loading branch information
cxong authored Sep 17, 2022
1 parent 7135102 commit fb7f4df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ jobs:
- name: Checkout
uses: actions/checkout@master

- name: Install poetry
run: pipx install poetry

- name: Setup Python
uses: actions/setup-python@v2.2.2
uses: actions/setup-python@v4
with:
python-version: '3.8'
cache: 'poetry'

- name: Build
run: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ poetry:
poetry install -q

prod: poetry run min
ci: poetry run
ci: run

docker-build:
docker build -t opengaming/osgameclones .
Expand Down

0 comments on commit fb7f4df

Please sign in to comment.