You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/03/25 10:24:47 UTC
[incubator-opendal] branch main updated: ci: Remove target from cache (#1764)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/main by this push:
new ee023fe8 ci: Remove target from cache (#1764)
ee023fe8 is described below
commit ee023fe8e3aff3739d78fc372ac079ffde8ed954
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Sat Mar 25 18:24:41 2023 +0800
ci: Remove target from cache (#1764)
* ci: Remove target from cache
Signed-off-by: Xuanwo <gi...@xuanwo.io>
* Move typos outside
Signed-off-by: Xuanwo <gi...@xuanwo.io>
* typos don't need cache
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---------
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
.github/actions/setup/action.yaml | 3 +--
.github/workflows/typos.yml | 5 -----
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml
index c99db12b..c4eada01 100644
--- a/.github/actions/setup/action.yaml
+++ b/.github/actions/setup/action.yaml
@@ -31,8 +31,7 @@ runs:
with:
path: |
~/.cargo/bin/
- ~/.cargo/registry/cache/
- target/
+ ~/.cargo/registry/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}${{ inputs.cache-key }}
restore-keys: |
${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml
index 9a2e1925..8cc7d8be 100644
--- a/.github/workflows/typos.yml
+++ b/.github/workflows/typos.yml
@@ -41,11 +41,6 @@ jobs:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v3
- with:
- clean: "true"
- - name: Setup Rust toolchain
- uses: ./.github/actions/setup
-
- run: curl -LsSf https://github.com/crate-ci/typos/releases/download/v1.13.24/typos-v1.13.24-x86_64-unknown-linux-musl.tar.gz | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- name: do typos check with typos-cli