Skip to content

Commit

Permalink
Update actions/checkout and poetry cache
Browse files Browse the repository at this point in the history
  • Loading branch information
N720720 committed Jun 3, 2024
1 parent 3ab671e commit d83fc41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9","3.10","3.11","3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9","3.10","3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2.2.2
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'

- name: Install poetry
run: make download-poetry

- name: Set up cache
uses: actions/cache@v2.1.6
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y libgl1-mesa-dev
poetry config virtualenvs.in-project true
poetry install
- name: Run safety checks
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [ # Update me
lindemann = "lindemann.main:app"

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
python = ">=3.9,<3.12"
psutil = "^5.9.8"
bottleneck = "^1.3.8"
intel-cmplr-lib-rt = "^2024.1.2"
Expand Down

0 comments on commit d83fc41

Please sign in to comment.