Skip to content

Commit

Permalink
ci: improve workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed May 6, 2024
1 parent 80df730 commit dc31b9f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,12 @@ jobs:
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip2-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip2-${{ matrix.python-version }}-
cache: "pip" # caching pip dependencies-
- name: Install dependencies
run: |
pip install -r requirements.txt -r requirements-dev.txt
Expand Down

0 comments on commit dc31b9f

Please sign in to comment.