Skip to content

Commit

Permalink
NHSO-0000: Update actions/cache task to v3.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasPedleyNHS committed Jan 24, 2025
1 parent d03bf04 commit 5253d49
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
with:
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function

- name: Install Python 3.8
- name: Install Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.9

- name: Update apt repositories
run: sudo apt update
Expand All @@ -33,16 +33,16 @@ jobs:
run: python -m pip install --upgrade pip setuptools wheel

- name: Install poetry
run: pip install poetry
run: pip install "poetry<2.0.0"

- name: Cache poetry packages
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-build-cache-poetry-packages-${{ hashFiles('**/poetry.lock') }}

- name: Cache node modules
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-build-cache-npm-packages-${{ hashFiles('**/package-lock.json') }}
Expand Down

0 comments on commit 5253d49

Please sign in to comment.