From 63191be183ad9b761db0331121f3f011eb7b2681 Mon Sep 17 00:00:00 2001 From: Nugine Date: Tue, 1 Oct 2024 13:33:08 +0800 Subject: [PATCH] ci: upgrade actions --- .github/workflows/e2e.yml | 8 ++++---- .github/workflows/rust.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 0b15d245..74971f64 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,7 +21,7 @@ jobs: steps: - name: cache protoc bin id: cache-protoc-action - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-protoc-action-bin with: @@ -42,7 +42,7 @@ jobs: - name: cache flatc bin id: cache-flatc-action - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-flatc-action-bin with: @@ -65,7 +65,7 @@ jobs: # components: rustfmt, clippy - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: run fs working-directory: . @@ -77,7 +77,7 @@ jobs: run: cargo test -p e2e_test --lib - name: cache cargo - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-cargo with: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 372c1207..e45ca2b8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,7 +20,7 @@ jobs: steps: - name: cache protoc bin id: cache-protoc-action - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-protoc-action-bin with: @@ -41,7 +41,7 @@ jobs: - name: cache flatc bin id: cache-flatc-action - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-flatc-action-bin with: @@ -63,7 +63,7 @@ jobs: toolchain: ${{ matrix.rust }} # components: rustfmt, clippy - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: cargo build run: cargo build @@ -72,7 +72,7 @@ jobs: run: cargo test --all --exclude e2e_test - name: cache cargo - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-cargo with: