Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/cache from 3 to 4 #46

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/[email protected]

- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
id: cache-restore
with:
key: lxc-image-base-${{ hashFiles('go.sum', 'test/init_test.sh') }}
Expand All @@ -61,7 +61,7 @@ jobs:
if: steps.s3.conclusion == 'success'
run: ./test/export_lxc_image.sh test

- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
id: s5
if: steps.s4.conclusion == 'success'
with:
Expand All @@ -76,7 +76,7 @@ jobs:
- uses: actions/[email protected]
- name: setup lxd
run: ./test/setup_lxd.sh
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
id: cache-restore
with:
key: lxc-image-base-${{ hashFiles('go.sum', 'test/init_test.sh') }}
Expand All @@ -91,7 +91,7 @@ jobs:
# some source codes may be updated. re-export new image.
- name: export image
run: sudo lxc image alias delete test-export && rm -f /tmp/test-image.tar.zst && ./test/export_lxc_image.sh test
- uses: actions/cache/save@v3
- uses: actions/cache/save@v4
with:
key: lxc-image-${{ github.sha }}
path: /tmp/test-image.tar.zst
Expand All @@ -109,7 +109,7 @@ jobs:
- uses: actions/[email protected]
- name: setup lxd
run: ./test/setup_lxd.sh
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
id: cache-restore
with:
key: lxc-image-${{ github.sha }}
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
- uses: actions/[email protected]
- name: setup lxd
run: ./test/setup_lxd.sh
- uses: actions/cache/restore@v3
- uses: actions/cache/restore@v4
id: cache-restore
with:
key: lxc-image-${{ github.sha }}
Expand Down
Loading