diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index f2425d921..32f989645 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -44,7 +44,7 @@ jobs: git submodule update --init --depth 1 - name: Cache clang, nasm and wixtoolset 3 id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/nasm @@ -52,7 +52,7 @@ jobs: third_party/wix311 key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | %LocalAppData%\go-build @@ -107,13 +107,13 @@ jobs: git submodule update --init --depth 1 - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/Library/Caches/go-build @@ -153,13 +153,13 @@ jobs: git submodule update --init --depth 1 - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build diff --git a/.github/workflows/compiler.yml b/.github/workflows/compiler.yml index 27e6b260d..aaba60caf 100644 --- a/.github/workflows/compiler.yml +++ b/.github/workflows/compiler.yml @@ -58,7 +58,7 @@ jobs: git submodule update --init --depth 1 - name: Cache clang, nasm and wixtoolset 3 id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/nasm @@ -67,7 +67,7 @@ jobs: key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache msvc curl id: curl-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/libcurl-vc16-arm64-release-static-ipv6-sspi-schannel @@ -75,7 +75,7 @@ jobs: third_party/libcurl-vc16-x86-release-static-ipv6-sspi-schannel key: ${{ runner.os }}-msvc-dynamic-curl-vc16-${{ matrix.arch }}-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | %LocalAppData%\go-build @@ -146,7 +146,7 @@ jobs: git submodule update --init --depth 1 - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/nasm @@ -155,14 +155,14 @@ jobs: key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache mingw64 llvm id: mingw-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-mingw-20230614-ucrt-ubuntu-20.04-x86_64 key: ${{ runner.os }}-mingw64-third_party-llvm-20230614-ucrt - name: Cache mingw64 curl id: curl-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/curl-8.4.0_7-win64a-mingw @@ -170,7 +170,7 @@ jobs: third_party/curl-8.4.0_7-win32-mingw key: ${{ runner.os }}-mingw64-curl-and-aarch64-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -266,13 +266,13 @@ jobs: git submodule update --init --depth 1 - name: Cache clang (v16.0.4) id: clang16-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04 key: ${{ runner.os }}-toolchain-clang16-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -350,7 +350,7 @@ jobs: with: go-version: '>=1.19.0' - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/Library/Caches/go-build diff --git a/.github/workflows/releases-android-binary.yml b/.github/workflows/releases-android-binary.yml index 3ff352f90..659cec959 100644 --- a/.github/workflows/releases-android-binary.yml +++ b/.github/workflows/releases-android-binary.yml @@ -73,34 +73,34 @@ jobs: patch -p1 < v8-6.7.17-fix-gcc-unwind-header.patch - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts key: ${{ runner.os }}-android-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache depot_tools id: depot-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/depot_tools key: ${{ runner.os }}-depot_tools-v1 - name: Cache crashpad build stage id: crashpad-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/crashpad key: ${{ runner.os }}-android-${{ matrix.arch }}-crashpad-${{ hashFiles('CRASHPAD_COMMIT') }}-v${{ env.CACHE_EPOCH }} - name: Cache cargo build stage id: cargo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo key: ${{ runner.os }}-android-cargo-${{ hashFiles('third_party/tun2proxy/Cargo.toml') }}-${{ hashFiles('third_party/tun2proxy/Cargo.lock') }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -109,20 +109,20 @@ jobs: restore-keys: | ${{ runner.os }}-go-docker- - name: Gradle cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.gradle key: ${{ runner.os }}-gradle-${{ hashFiles('android/**/*.gradle') }} - name: Cache qemu-user-static id: qemu-user-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | qemu-user-static*.deb key: ${{ runner.os }}-qemu-8.2.0-ds-5 - name: Cache sysroot id: sysroot-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ env.SYSROOT }} diff --git a/.github/workflows/releases-deb.yml b/.github/workflows/releases-deb.yml index e3b819d24..bae8df033 100644 --- a/.github/workflows/releases-deb.yml +++ b/.github/workflows/releases-deb.yml @@ -81,13 +81,13 @@ jobs: patch -p1 < v8-6.7.17-fix-gcc-unwind-header.patch - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | /tmp/.cache/go-build @@ -158,7 +158,7 @@ jobs: sudo chown -R $USER:sbuild /etc/schroot/chroot.d /var/lib/schroot/chroots - name: Cache schroot id: schroot-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | /etc/schroot/chroot.d diff --git a/.github/workflows/releases-freebsd-binary.yml b/.github/workflows/releases-freebsd-binary.yml index 2d8ba29fe..edc1429a7 100644 --- a/.github/workflows/releases-freebsd-binary.yml +++ b/.github/workflows/releases-freebsd-binary.yml @@ -59,13 +59,13 @@ jobs: git submodule update --init --depth 1 - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -75,7 +75,7 @@ jobs: ${{ runner.os }}-go-docker- - name: Cache sysroot id: sysroot-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | freebsd-${{ matrix.abi }}-toolchain diff --git a/.github/workflows/releases-ios.yml b/.github/workflows/releases-ios.yml index 62c19c519..91206f5f1 100644 --- a/.github/workflows/releases-ios.yml +++ b/.github/workflows/releases-ios.yml @@ -42,14 +42,14 @@ jobs: git submodule update --init --depth 1 - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache cargo build stage id: cargo-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo @@ -58,7 +58,7 @@ jobs: with: go-version: '>=1.19.0' - name: Cache golang (tools only) - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/Library/Caches/go-build diff --git a/.github/workflows/releases-linux-binary.yml b/.github/workflows/releases-linux-binary.yml index f87a21503..c1ed72af2 100644 --- a/.github/workflows/releases-linux-binary.yml +++ b/.github/workflows/releases-linux-binary.yml @@ -75,13 +75,13 @@ jobs: patch -p1 < v8-6.7.17-fix-gcc-unwind-header.patch - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -91,14 +91,14 @@ jobs: ${{ runner.os }}-go-docker- - name: Cache qemu-user-static id: qemu-user-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | qemu-user-static*.deb key: ${{ runner.os }}-qemu-8.2.0-ds-5 - name: Cache sysroot id: sysroot-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ env.SDK_ROOT }} diff --git a/.github/workflows/releases-macos.yml b/.github/workflows/releases-macos.yml index 1dd96f296..b73a6fd04 100644 --- a/.github/workflows/releases-macos.yml +++ b/.github/workflows/releases-macos.yml @@ -56,27 +56,27 @@ jobs: git submodule update --init --depth 1 - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache depot_tools id: depot-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/depot_tools key: ${{ runner.os }}-depot_tools-v1 - name: Cache crashpad build stage id: crashpad-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/crashpad key: ${{ runner.os }}-mac-${{ matrix.arch }}-crashpad-${{ hashFiles('CRASHPAD_COMMIT') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang (tools only) - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/Library/Caches/go-build diff --git a/.github/workflows/releases-mingw-new.yml b/.github/workflows/releases-mingw-new.yml index 9b0b56ad0..75afc7f85 100644 --- a/.github/workflows/releases-mingw-new.yml +++ b/.github/workflows/releases-mingw-new.yml @@ -61,7 +61,7 @@ jobs: git submodule update --init --depth 1 - name: Cache clang, nasm and wixtoolset 3 id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/nasm @@ -70,14 +70,14 @@ jobs: key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache mingw64 llvm id: mingw-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-mingw-20230614-${{ matrix.variant }}-ubuntu-20.04-x86_64 key: ${{ runner.os }}-mingw64-third_party-llvm-20230614-${{ matrix.variant }} - name: Cache mingw64 curl id: curl-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/curl-8.4.0_7-win64a-mingw @@ -85,7 +85,7 @@ jobs: third_party/curl-8.4.0_7-win32-mingw key: ${{ runner.os }}-mingw64-curl-and-aarch64-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build diff --git a/.github/workflows/releases-mingw.yml b/.github/workflows/releases-mingw.yml index 9f8eb0aa2..2fe48bc4a 100644 --- a/.github/workflows/releases-mingw.yml +++ b/.github/workflows/releases-mingw.yml @@ -47,7 +47,7 @@ jobs: git submodule update --init --depth 1 - name: Cache clang, nasm and wixtoolset 3 id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/nasm @@ -56,7 +56,7 @@ jobs: key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache mingw64 toolchain id: mingw64-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/mingw64 @@ -64,7 +64,7 @@ jobs: key: ${{ runner.os }}-mingw64-${{ matrix.arch }}-toolchain-v${{ env.CACHE_EPOCH }} - name: Cache mingw64 curl id: curl-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/curl-8.4.0_7-win64-mingw diff --git a/.github/workflows/releases-openwrt-binary.yml b/.github/workflows/releases-openwrt-binary.yml index 78c2e7ae1..a72566087 100644 --- a/.github/workflows/releases-openwrt-binary.yml +++ b/.github/workflows/releases-openwrt-binary.yml @@ -68,13 +68,13 @@ jobs: patch -p1 < v8-6.7.17-fix-gcc-unwind-header.patch - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -84,7 +84,7 @@ jobs: ${{ runner.os }}-go-docker- - name: Cache openwrt sdk home id: openwrt-sdkhome-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | openwrt-sdk-*.Linux-x86_64 diff --git a/.github/workflows/releases-rpm.yml b/.github/workflows/releases-rpm.yml index b46c149c6..224679148 100644 --- a/.github/workflows/releases-rpm.yml +++ b/.github/workflows/releases-rpm.yml @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v4 - name: Cache docker files (dummy) id: docker-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | docker/dummy @@ -106,7 +106,7 @@ jobs: git submodule update --init --depth 1 - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 if: ${{ env.DISTRO != 'centos7' }} with: path: | @@ -181,7 +181,7 @@ jobs: git fetch --tags --unshallow git submodule update --init --depth 1 - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build diff --git a/.github/workflows/releases-windows.yml b/.github/workflows/releases-windows.yml index 902b1994d..8a91ae604 100644 --- a/.github/workflows/releases-windows.yml +++ b/.github/workflows/releases-windows.yml @@ -46,7 +46,7 @@ jobs: git submodule update --init --depth 1 - name: Cache clang, nasm and wixtoolset 3 id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/nasm @@ -55,7 +55,7 @@ jobs: key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache msvc curl id: curl-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/libcurl-vc16-arm64-release-static-ipv6-sspi-schannel @@ -64,20 +64,20 @@ jobs: key: ${{ runner.os }}-msvc-dynamic-curl-vc16-${{ matrix.arch }}-v${{ env.CACHE_EPOCH }} - name: Cache depot_tools id: depot-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/depot_tools key: ${{ runner.os }}-depot_tools-v1 - name: Cache crashpad build stage id: crashpad-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/crashpad key: ${{ runner.os }}-msvc-dynamic-${{ matrix.arch }}-crashpad-${{ hashFiles('CRASHPAD_COMMIT') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang (tools only) - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | %LocalAppData%\go-build @@ -165,7 +165,7 @@ jobs: git submodule update --init --depth 1 - name: Cache clang, nasm and wixtoolset 3 id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/nasm @@ -173,7 +173,7 @@ jobs: third_party/wix311 key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }} - name: Cache golang - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | %LocalAppData%\go-build diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index e92f27c75..4e05aceeb 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -46,7 +46,7 @@ jobs: git submodule update --init --depth 1 - name: Cache clang id: clang-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | third_party/llvm-build/Release+Asserts