1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:07:45 +00:00

CI: Bump actions/cache from 3 to 4

Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2024-01-22 01:31:48 +00:00 committed by Tim Flynn
parent aa0a6d58b2
commit f1347bc4e0
6 changed files with 26 additions and 26 deletions

View file

@ -91,7 +91,7 @@ jobs:
message("::set-output name=libc_headers::${{ hashFiles('Userland/Libraries/LibC/**/*.h', 'Userland/Libraries/LibPthread/**/*.h', 'Toolchain/Patches/*.patch', 'Toolchain/Patches/gcc/*.patch', 'Toolchain/BuildGNU.sh') }}") message("::set-output name=libc_headers::${{ hashFiles('Userland/Libraries/LibC/**/*.h', 'Userland/Libraries/LibPthread/**/*.h', 'Toolchain/Patches/*.patch', 'Toolchain/Patches/gcc/*.patch', 'Toolchain/BuildGNU.sh') }}")
- name: Toolchain cache - name: Toolchain cache
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
id: toolchain-cache id: toolchain-cache
with: with:
path: ${{ github.workspace }}/Toolchain/Local/${{ matrix.arch }} path: ${{ github.workspace }}/Toolchain/Local/${{ matrix.arch }}
@ -105,7 +105,7 @@ jobs:
run: ARCH="${{ matrix.arch }}" ${{ github.workspace }}/Toolchain/BuildGNU.sh run: ARCH="${{ matrix.arch }}" ${{ github.workspace }}/Toolchain/BuildGNU.sh
- name: Update toolchain cache - name: Update toolchain cache
uses: actions/cache/save@v3 uses: actions/cache/save@v4
# Do not waste time and storage space by updating the toolchain cache from a PR, # Do not waste time and storage space by updating the toolchain cache from a PR,
# as it would be discarded after being merged anyway. # as it would be discarded after being merged anyway.
if: ${{ github.event_name != 'pull_request' && !steps.toolchain-cache.outputs.cache-hit }} if: ${{ github.event_name != 'pull_request' && !steps.toolchain-cache.outputs.cache-hit }}
@ -116,7 +116,7 @@ jobs:
# FIXME: Qemu currently needs a local patch for AArch64 testing. It is included in Qemu 8.1; remove this when upgrading! # FIXME: Qemu currently needs a local patch for AArch64 testing. It is included in Qemu 8.1; remove this when upgrading!
- name: AArch64 Qemu cache - name: AArch64 Qemu cache
id: qemu-cache id: qemu-cache
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
if: ${{ matrix.arch == 'aarch64' }} if: ${{ matrix.arch == 'aarch64' }}
with: with:
path: ${{ github.workspace }}/Toolchain/Local/qemu path: ${{ github.workspace }}/Toolchain/Local/qemu
@ -127,7 +127,7 @@ jobs:
run: ${{ github.workspace }}/Toolchain/BuildQemu.sh run: ${{ github.workspace }}/Toolchain/BuildQemu.sh
- name: Update AArch64 Qemu cache - name: Update AArch64 Qemu cache
uses: actions/cache/save@v3 uses: actions/cache/save@v4
if: ${{ github.event_name != 'pull_request' && matrix.arch == 'aarch64' && !steps.qemu-cache.outputs.cache-hit }} if: ${{ github.event_name != 'pull_request' && matrix.arch == 'aarch64' && !steps.qemu-cache.outputs.cache-hit }}
with: with:
path: ${{ github.workspace }}/Toolchain/Local/qemu path: ${{ github.workspace }}/Toolchain/Local/qemu
@ -135,7 +135,7 @@ jobs:
- name: ccache(1) cache - name: ccache(1) cache
# Pull the ccache *after* building the toolchain, in case building the Toolchain somehow interferes. # Pull the ccache *after* building the toolchain, in case building the Toolchain somehow interferes.
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
id: ccache id: ccache
with: with:
path: ${{ github.workspace }}/.ccache path: ${{ github.workspace }}/.ccache
@ -165,17 +165,17 @@ jobs:
mkdir -p ${{ github.workspace }}/Build/caches/UCD mkdir -p ${{ github.workspace }}/Build/caches/UCD
mkdir -p ${{ github.workspace }}/Build/caches/CLDR mkdir -p ${{ github.workspace }}/Build/caches/CLDR
- name: TimeZoneData cache - name: TimeZoneData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/TZDB path: ${{ github.workspace }}/Build/caches/TZDB
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }} key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
- name: UnicodeData cache - name: UnicodeData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/UCD path: ${{ github.workspace }}/Build/caches/UCD
key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }} key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }}
- name: UnicodeLocale Cache - name: UnicodeLocale Cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/CLDR path: ${{ github.workspace }}/Build/caches/CLDR
key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }} key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }}
@ -219,7 +219,7 @@ jobs:
run: ccache -s run: ccache -s
- name: Update ccache(1) cache - name: Update ccache(1) cache
uses: actions/cache/save@v3 uses: actions/cache/save@v4
if: ${{ github.event_name != 'pull_request' }} if: ${{ github.event_name != 'pull_request' }}
with: with:
path: ${{ github.workspace }}/.ccache path: ${{ github.workspace }}/.ccache

View file

@ -71,19 +71,19 @@ jobs:
run: set +e; g++ --version; g++-12 --version; python --version; python3 --version; ninja --version run: set +e; g++ --version; g++-12 --version; python --version; python3 --version; ninja --version
- name: TimeZoneData cache - name: TimeZoneData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/libjs-test262/Build/caches/TZDB path: ${{ github.workspace }}/libjs-test262/Build/caches/TZDB
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }} key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
- name: UnicodeData cache - name: UnicodeData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/libjs-test262/Build/caches/UCD path: ${{ github.workspace }}/libjs-test262/Build/caches/UCD
key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }} key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }}
- name: UnicodeLocale cache - name: UnicodeLocale cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/libjs-test262/Build/caches/CLDR path: ${{ github.workspace }}/libjs-test262/Build/caches/CLDR
key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }} key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }}

View file

@ -47,7 +47,7 @@ jobs:
- name: Toolchain cache - name: Toolchain cache
# This job should always read the cache, never populate it. # This job should always read the cache, never populate it.
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
id: toolchain-cache id: toolchain-cache
with: with:
path: ${{ github.workspace }}/Toolchain/Local/${{ env.PVS_STUDIO_ANALYSIS_ARCH }} path: ${{ github.workspace }}/Toolchain/Local/${{ env.PVS_STUDIO_ANALYSIS_ARCH }}
@ -68,17 +68,17 @@ jobs:
mkdir -p ${{ github.workspace }}/Build/caches/CLDR mkdir -p ${{ github.workspace }}/Build/caches/CLDR
- name: TimeZoneData cache - name: TimeZoneData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/TZDB path: ${{ github.workspace }}/Build/caches/TZDB
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }} key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
- name: UnicodeData cache - name: UnicodeData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/UCD path: ${{ github.workspace }}/Build/caches/UCD
key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }} key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }}
- name: UnicodeLocale Cache - name: UnicodeLocale Cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/CLDR path: ${{ github.workspace }}/Build/caches/CLDR
key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }} key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }}

View file

@ -60,19 +60,19 @@ jobs:
mkdir -p Build/CLDR mkdir -p Build/CLDR
- name: TimeZoneData cache - name: TimeZoneData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/libjs-test262/Build/TZDB path: ${{ github.workspace }}/libjs-test262/Build/TZDB
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }} key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
- name: UnicodeData cache - name: UnicodeData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/libjs-test262/Build/UCD path: ${{ github.workspace }}/libjs-test262/Build/UCD
key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }} key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }}
- name: UnicodeLocale cache - name: UnicodeLocale cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/libjs-test262/Build/CLDR path: ${{ github.workspace }}/libjs-test262/Build/CLDR
key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }} key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }}

View file

@ -79,7 +79,7 @@ jobs:
- name: Toolchain cache - name: Toolchain cache
# This job should always read the cache, never populate it. # This job should always read the cache, never populate it.
uses: actions/cache/restore@v3 uses: actions/cache/restore@v4
id: toolchain-cache id: toolchain-cache
with: with:
path: ${{ github.workspace }}/Toolchain/Local/${{ env.SONAR_ANALYSIS_ARCH }} path: ${{ github.workspace }}/Toolchain/Local/${{ env.SONAR_ANALYSIS_ARCH }}
@ -100,17 +100,17 @@ jobs:
mkdir -p ${{ github.workspace }}/Build/caches/CLDR mkdir -p ${{ github.workspace }}/Build/caches/CLDR
- name: TimeZoneData cache - name: TimeZoneData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/TZDB path: ${{ github.workspace }}/Build/caches/TZDB
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }} key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
- name: UnicodeData cache - name: UnicodeData cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/UCD path: ${{ github.workspace }}/Build/caches/UCD
key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }} key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }}
- name: UnicodeLocale Cache - name: UnicodeLocale Cache
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/CLDR path: ${{ github.workspace }}/Build/caches/CLDR
key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }} key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }}

View file

@ -43,17 +43,17 @@ jobs:
mkdir -p ${{ github.workspace }}/Build/caches/UCD mkdir -p ${{ github.workspace }}/Build/caches/UCD
mkdir -p ${{ github.workspace }}/Build/caches/CLDR mkdir -p ${{ github.workspace }}/Build/caches/CLDR
- name: "TimeZoneData cache" - name: "TimeZoneData cache"
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/TZDB path: ${{ github.workspace }}/Build/caches/TZDB
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }} key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
- name: "UnicodeData cache" - name: "UnicodeData cache"
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/UCD path: ${{ github.workspace }}/Build/caches/UCD
key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }} key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }}
- name: "UnicodeLocale cache" - name: "UnicodeLocale cache"
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/Build/caches/CLDR path: ${{ github.workspace }}/Build/caches/CLDR
key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }} key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }}