Skip to content

Commit 8baa351

Browse files
Merge pull request #114 from NHSDigital/apm-5908/cache-fix
cache fix
2 parents a969a20 + 7e5e217 commit 8baa351

File tree

2 files changed

+937
-1018
lines changed

2 files changed

+937
-1018
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ on: push
55
jobs:
66
build:
77
name: build
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-22.04
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v2
1212
with:
1313
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
1414

15-
- name: Install Python 3.8
16-
uses: actions/setup-python@v1
15+
- name: Install Python 3.9
16+
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.8
18+
python-version: 3.9
1919

2020
- name: Update apt repositories
2121
run: sudo apt update
@@ -27,16 +27,16 @@ jobs:
2727
run: python -m pip install --upgrade pip setuptools wheel
2828

2929
- name: Install poetry
30-
run: pip install poetry
30+
run: pip install "poetry<2.0.0"
3131

3232
- name: Cache poetry packages
33-
uses: actions/cache@v1
33+
uses: actions/cache@v4
3434
with:
3535
path: ~/.cache/pypoetry
3636
key: ${{ runner.os }}-build-cache-poetry-packages-${{ hashFiles('**/poetry.lock') }}
3737

3838
- name: Cache node modules
39-
uses: actions/cache@v1
39+
uses: actions/cache@v4
4040
with:
4141
path: ~/.npm
4242
key: ${{ runner.os }}-build-cache-npm-packages-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)