ci: add caching for imgtool pip packages
Cache python dependencies for faster install and test times.
@@ -13,6 +13,11 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
+ - name: Cache pip
+ uses: actions/cache@v1
+ with:
+ path: ~/.cache/pip
+ key: ${{ runner.os }}-pip
- name: Install packages
run: |
export PATH="$HOME/.local/bin:$PATH"
