Skip to content

Commit

Permalink
ci: Remove target from cache (#1764)
Browse files Browse the repository at this point in the history
* ci: Remove target from cache

Signed-off-by: Xuanwo <github@xuanwo.io>

* Move typos outside

Signed-off-by: Xuanwo <github@xuanwo.io>

* typos don't need cache

Signed-off-by: Xuanwo <github@xuanwo.io>

---------

Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Mar 25, 2023
1 parent 0069c92 commit ee023fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee023fe

Please sign in to comment.