internal: checkout repo before run typos
This commit is contained in:
parent
68c506fd62
commit
af174b9428
5
.github/workflows/ci.yaml
vendored
5
.github/workflows/ci.yaml
vendored
@ -226,6 +226,11 @@ jobs:
|
||||
- name: download typos
|
||||
run: curl -LsSf https://github.com/crate-ci/typos/releases/download/$TYPOS_VERSION/typos-$TYPOS_VERSION-x86_64-unknown-linux-musl.tar.gz | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: check for typos
|
||||
run: typos
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user