Skip to content

Commit 3232114

Browse files
committed
GitHub Actions: remove cache and update actions versions
1 parent 673f406 commit 3232114

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,12 @@ jobs:
55
lint:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v4
99
- name: Setup python
10-
uses: actions/setup-python@v2
10+
uses: actions/setup-python@v5
1111
with:
1212
python-version: 3.9
1313
architecture: x64
14-
- uses: actions/cache@v1
15-
with:
16-
path: ~/.cache/pip
17-
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}-${{ matrix.python-version }}
18-
restore-keys: |
19-
${{ runner.os }}-pip-
2014
- run: pip install -e .[dev]
2115
- run: black --check setup.py ocdsadditions/* tests/*
2216
- run: isort --check-only setup.py ocdsadditions/* tests/*

.github/workflows/test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,12 @@ jobs:
88
matrix:
99
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13']
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
- name: Setup python
13-
uses: actions/setup-python@v2
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: ${{ matrix.python-version }}
1616
architecture: x64
17-
- uses: actions/cache@v1
18-
with:
19-
path: ~/.cache/pip
20-
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}-${{ matrix.python-version }}
21-
restore-keys: |
22-
${{ runner.os }}-pip-
2317
- run: pip install -e .[dev]
2418
- run: py.test .
2519

0 commit comments

Comments
 (0)