Skip to content

Commit ea976a9

Browse files
committed
Updated action workflows
1 parent 839374f commit ea976a9

File tree

2 files changed

+9
-20
lines changed

2 files changed

+9
-20
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,12 @@ jobs:
2020
- '3.13'
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

25-
- uses: actions/setup-python@v4
25+
- uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ matrix.python-version }}
28-
29-
- uses: actions/cache@v3
30-
with:
31-
path: ~/.cache/pip
32-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}
33-
restore-keys: |
34-
${{ runner.os }}-pip-
28+
cache: pip
3529
- name: Upgrade packaging tools
3630
run: python -m pip install --upgrade pip setuptools virtualenv wheel
3731

@@ -51,9 +45,9 @@ jobs:
5145
runs-on: ubuntu-latest
5246
needs: [test]
5347
steps:
54-
- uses: actions/checkout@v3
48+
- uses: actions/checkout@v4
5549
- name: Set up Python
56-
uses: actions/setup-python@v4
50+
uses: actions/setup-python@v5
5751
with:
5852
python-version: "3.10"
5953
- name: Install dependencies

.github/workflows/test.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,12 @@ jobs:
2222
- '3.13'
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626

27-
- uses: actions/setup-python@v4
27+
- uses: actions/setup-python@v5
2828
with:
2929
python-version: ${{ matrix.python-version }}
30-
31-
- uses: actions/cache@v3
32-
with:
33-
path: ~/.cache/pip
34-
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/*.txt') }}
35-
restore-keys: |
36-
${{ runner.os }}-pip-
30+
cache: pip
3731
- name: Upgrade packaging tools
3832
run: python -m pip install --upgrade pip setuptools virtualenv wheel
3933

@@ -48,3 +42,4 @@ jobs:
4842
if: ${{ matrix.python-version == '3.9' }}
4943
run: |
5044
tox -e lint
45+

0 commit comments

Comments
 (0)