Skip to content

Commit

Permalink
Migrate to actions/cache@v4 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored Mar 3, 2025
1 parent 78e0032 commit a4bddc6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
python-version: '3.12'
- name: Cache pip modules
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: esphome-pip-3.12-${{ hashFiles('setup.py') }}
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
with:
python-version: '3.12'
- name: Cache pip modules
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: esphome-pip-3.12-${{ hashFiles('setup.py') }}
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
with:
python-version: '3.12'
- name: Cache pip modules
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: esphome-pip-3.12-${{ hashFiles('setup.py') }}
Expand Down Expand Up @@ -214,13 +214,13 @@ jobs:
- name: ⤵️ Check out configuration from GitHub
uses: actions/checkout@v2
- name: Cache .esphome
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: .esphome
key: esphome-compile-esphome-${{ hashFiles('*.yaml') }}
restore-keys: esphome-compile-esphome-
- name: Cache .pioenvs
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: .pioenvs
key: esphome-compile-pioenvs-${{ hashFiles('*.yaml') }}
Expand Down

0 comments on commit a4bddc6

Please sign in to comment.