From a4ea16169ad3fafcc01e414dba1204bd12f02c96 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Tue, 10 Jun 2025 14:48:38 +0200 Subject: [PATCH 1/2] Replace actions-rs actions --- .github/workflows/github-actions.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 8f5e9aa2..8ac0be82 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -21,10 +21,8 @@ jobs: steps: - uses: actions/checkout@main - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - default: true + - run: | + rustup toolchain add nightly - name: Set up cargo cache uses: actions/cache@v3 continue-on-error: false @@ -69,9 +67,8 @@ jobs: MODE: standalone steps: - uses: actions/checkout@main - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable + - run: | + rustup toolchain add stable - name: Set up cargo cache uses: actions/cache@v3 continue-on-error: false From 1f7ddc754dae8da49bd39a474273044854bc56e1 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Tue, 10 Jun 2025 14:51:30 +0200 Subject: [PATCH 2/2] Replace outdated cache v3 --- .github/workflows/github-actions.yml | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 8ac0be82..ad13b5af 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -23,18 +23,7 @@ jobs: - uses: actions/checkout@main - run: | rustup toolchain add nightly - - name: Set up cargo cache - uses: actions/cache@v3 - continue-on-error: false - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: ${{ runner.os }}-cargo- + - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8 - name: setup protoc run: | mkdir $HOME/protoc/ -p && @@ -69,18 +58,7 @@ jobs: - uses: actions/checkout@main - run: | rustup toolchain add stable - - name: Set up cargo cache - uses: actions/cache@v3 - continue-on-error: false - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: ${{ runner.os }}-cargo- + - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8 - name: setup protoc run: | mkdir $HOME/protoc/ -p &&