Skip to content

Commit

Permalink
Merge pull request #103 from paulsengroup/dependabot/github_actions/a…
Browse files Browse the repository at this point in the history
…ctions/cache-4

Bump actions/cache from 3 to 4
  • Loading branch information
robomics authored Jan 21, 2024
2 parents c416083 + 250d6a2 commit 6b087ea
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-dockerfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: actions/checkout@v4

- name: Restore test dataset
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ needs.cache-test-dataset.outputs.cache-key }}
path: test/data/hictk_test_data.tar.xz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache-test-dataset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Restore cache
id: cache-dset
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ steps.generate-cache-key.outputs.key }}
path: ${{ env.TEST_DATASET_PATH }}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
shasum -c checksum.sha256
- name: Save cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: steps.cache-dset.outputs.cache-hit != 'true'
with:
key: ${{ steps.generate-cache-key.outputs.key }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Restore Conan cache
id: cache-conan
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: conan-${{ steps.cache-key.outputs.conan-key }}
path: ${{ env.CONAN_HOME }}
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
conan cache clean "*" --source
- name: Save Conan cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: steps.cache-conan.outputs.cache-hit != 'true'
with:
key: conan-${{ steps.cache-key.outputs.conan-key }}
Expand All @@ -135,7 +135,7 @@ jobs:
-B build
- name: Cache Ccache folder
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ steps.cache-key.outputs.ccache-key }}
restore-keys: ${{ steps.cache-key.outputs.ccache-restore-key }}
Expand All @@ -148,7 +148,7 @@ jobs:
run: ccache -s

- name: Restore test dataset
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ needs.cache-test-dataset.outputs.cache-key }}
path: test/data/hictk_test_data.tar.xz
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
- name: Cache hic_tools
id: cache-hictools
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: hic_tools
path: hic_tools.jar
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fuzzy-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
- name: Restore Conan cache
id: cache-conan
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: conan-${{ steps.cache-key.outputs.key }}
path: ${{ env.CONAN_HOME }}
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
pip install . -v
- name: Save Conan cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: steps.cache-conan.outputs.cache-hit != 'true'
with:
key: conan-${{ steps.cache-key.outputs.key }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/macos-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Restore Conan cache
id: cache-conan
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: conan-${{ steps.cache-key.outputs.conan-restore-key }}
path: ${{ env.CONAN_HOME }}
Expand Down Expand Up @@ -169,14 +169,14 @@ jobs:
conan cache clean "*" --source
- name: Save Conan cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: steps.cache-conan.outputs.cache-hit != 'true'
with:
key: conan-${{ steps.cache-key.outputs.conan-key }}
path: ${{ env.CONAN_HOME }}

- name: Cache Ccache folder
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ steps.cache-key.outputs.ccache-key }}
restore-keys: ${{ steps.cache-key.outputs.ccache-restore-key }}
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
chown -R $(id -u):$(id -g) $PWD
- name: Restore test dataset
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ needs.cache-test-dataset.outputs.cache-key }}
path: test/data/hictk_test_data.tar.xz
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:

- name: Cache hic_tools
id: cache-hictools
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: hic_tools
path: hic_tools.jar
Expand All @@ -341,7 +341,7 @@ jobs:
-o hic_tools.jar
- name: Restore test dataset
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ needs.cache-test-dataset.outputs.cache-key }}
path: test/data/hictk_test_data.tar.xz
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run-clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Restore Conan cache
id: cache-conan
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: conan-${{ steps.cache-key.outputs.conan-key }}
path: ${{ env.CONAN_HOME }}
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
conan cache clean "*" --source
- name: Save Conan cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: steps.cache-conan.outputs.cache-hit != 'true'
with:
key: conan-${{ steps.cache-key.outputs.conan-key }}
Expand All @@ -131,7 +131,7 @@ jobs:
-B build
- name: Cache Ccache folder
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ steps.cache-key.outputs.ccache-key }}
restore-keys: ${{ steps.cache-key.outputs.ccache-restore-key }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ubuntu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
- name: Restore Conan cache
id: cache-conan
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: conan-${{ steps.cache-key.outputs.conan-restore-key }}
path: ${{ env.CONAN_HOME }}
Expand Down Expand Up @@ -231,14 +231,14 @@ jobs:
conan cache clean "*" --source
- name: Save Conan cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: steps.cache-conan.outputs.cache-hit != 'true'
with:
key: conan-${{ steps.cache-key.outputs.conan-key }}
path: ${{ env.CONAN_HOME }}

- name: Cache Ccache folder
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ steps.cache-key.outputs.ccache-key }}
restore-keys: ${{ steps.cache-key.outputs.ccache-restore-key }}
Expand Down Expand Up @@ -324,7 +324,7 @@ jobs:
chown -R $(id -u):$(id -g) $PWD
- name: Restore test dataset
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ needs.cache-test-dataset.outputs.cache-key }}
path: test/data/hictk_test_data.tar.xz
Expand Down Expand Up @@ -385,7 +385,7 @@ jobs:
- name: Cache hic_tools
id: cache-hictools
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: hic_tools
path: hic_tools.jar
Expand All @@ -398,7 +398,7 @@ jobs:
-o hic_tools.jar
- name: Restore test dataset
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ needs.cache-test-dataset.outputs.cache-key }}
path: test/data/hictk_test_data.tar.xz
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
- name: Restore Conan cache
id: cache-conan
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: conan-${{ steps.cache-key.outputs.conan-restore-key }}
path: ${{ env.CONAN_HOME }}
Expand Down Expand Up @@ -148,14 +148,14 @@ jobs:
conan cache clean "*" --source
- name: Save Conan cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: steps.cache-conan.outputs.cache-hit != 'true'
with:
key: conan-${{ steps.cache-key.outputs.conan-key }}
path: ${{ env.CONAN_HOME }}

- name: Cache Ccache folder
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ steps.cache-key.outputs.ccache-key }}
restore-keys: ${{ steps.cache-key.outputs.ccache-restore-key }}
Expand All @@ -182,7 +182,7 @@ jobs:
run: ccache -s

- name: Restore test dataset
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ needs.cache-test-dataset.outputs.cache-key }}
path: test/data/hictk_test_data.tar.xz
Expand Down

0 comments on commit 6b087ea

Please sign in to comment.