diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4325a0a060d4..14ee75149667 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -39,7 +39,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Cache Cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: # these represent dependencies downloaded by cargo # and thus do not depend on the OS, arch nor rust version. @@ -88,7 +88,7 @@ jobs: export PATH=$PATH:$HOME/d/protoc/bin protoc --version - name: Cache Cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /github/home/.cargo # this key equals the ones on `linux-build-lib` for re-use @@ -205,7 +205,7 @@ jobs: rustup default stable rustup component add rustfmt clippy - name: Cache Cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /home/runner/.cargo # this key is not equal because the user is different than on a container (runner vs github) @@ -236,7 +236,7 @@ jobs: with: submodules: true - name: Cache Cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /github/home/.cargo # this key equals the ones on `linux-build-lib` for re-use @@ -258,7 +258,7 @@ jobs: - uses: actions/checkout@v3 with: submodules: true - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -297,7 +297,7 @@ jobs: with: submodules: true - name: Cache Cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /github/home/.cargo # this key equals the ones on `linux-build-lib` for re-use @@ -327,7 +327,7 @@ jobs: with: submodules: true - name: Cache Cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /github/home/.cargo # this key equals the ones on `linux-build-lib` for re-use