Skip to content

Commit ea1fcbf

Browse files
committed
ci: fix test workflow
The `test` workflow only fetched the latest commit and thus only tested that one instead of the entire pull request. Signed-off-by: Benno Lossin <lossin@kernel.org>
1 parent beb4fee commit ea1fcbf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
runs-on: ubuntu-latest
6969
steps:
7070
- uses: actions/checkout@v4
71+
with:
72+
fetch-depth: ${{github.event.pull_request.commits}}
73+
ref: ${{github.event.pull_request.head.sha}}
7174
- uses: dtolnay/rust-toolchain@nightly
7275
with:
7376
components: rust-src

0 commit comments

Comments
 (0)