From fb7f4df08cf562729d64b8ba483070f2d822c78c Mon Sep 17 00:00:00 2001 From: Cong Date: Sat, 17 Sep 2022 10:59:38 +1000 Subject: [PATCH] Update setup-python, cache poetry #1802 (#1834) * Update setup-python, cache poetry * Update main.yml * Update Makefile --- .github/workflows/main.yml | 6 +++++- Makefile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 325ce30f9..4f7e76a3e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: | diff --git a/Makefile b/Makefile index 632d54568..792744df9 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ poetry: poetry install -q prod: poetry run min -ci: poetry run +ci: run docker-build: docker build -t opengaming/osgameclones .