Skip to content

Commit

Permalink
Fix CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHeart committed Sep 6, 2024
1 parent 409bb2c commit edb0399
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,26 @@ jobs:
with:
fetch-depth: 0 # Needed for mkdocs-git-authors-plugin

- uses: actions/cache@v4
with:
path: |
~/.cache/pip
key: ${{ runner.os }}-arch

- uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install packages
run: apt update && apt install -y libgl1-mesa-dev
run: sudo apt update && sudo apt install -y libgl1-mesa-dev

- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true

- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}

- name: Install poetry
run: pip install -U poetry

- name: Install dependencies
run: poetry install --no-root

Expand Down

0 comments on commit edb0399

Please sign in to comment.