Skip to content

Commit

Permalink
update github actions (use cache and ubuntu-latest)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-pujol authored and guillp committed May 7, 2024
1 parent 7464ef2 commit d308fe9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
with:
python-version: ${{ matrix.python-versions }}

- uses: actions/cache@v3
if: startsWith(runner.os, 'Linux')
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: ${{ runner.os }}-pip-

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# This workflow contains a single job called "build"
release:
name: Create Release
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

strategy:
matrix:
Expand Down

0 comments on commit d308fe9

Please sign in to comment.