Skip to content

Commit f3f2b3a

Browse files
akxWhyNotHugo
authored andcommitted
Renovate GitHub Actions and use cache
1 parent c96ce2b commit f3f2b3a

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
runs-on: ubuntu-22.04
1111
name: Publish package on PyPI
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-python@v3
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v4
1515
with:
1616
python-version: 3.7
1717
- run: pip install build setuptools wheel build setuptools_scm

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,14 @@ jobs:
2020
- os: windows-2019
2121
name: python${{ matrix.python }} on ${{ matrix.os }} ${{ matrix.variant }}
2222
steps:
23-
- uses: actions/checkout@v2
24-
- uses: actions/setup-python@v2
23+
- uses: actions/checkout@v4
24+
- uses: actions/setup-python@v4
2525
with:
2626
python-version: ${{ matrix.python }}
27+
cache: pip
28+
cache-dependency-path: |
29+
pyproject.toml
30+
setup.py
2731
- name: Install test dependency
2832
run: pip install tox
2933
- name: Run tests

0 commit comments

Comments
 (0)