Skip to content

Commit 64831a1

Browse files
committed
ci: attempt to fix check
1 parent 8eb1d9a commit 64831a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ jobs:
1818
skip: ${{ steps.check_changes.outputs.skip }}
1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
22+
with:
23+
fetch-depth: 0
2224

2325
- name: Check for changes
2426
id: check_changes
2527
run: |
26-
git fetch --depth=1 origin +refs/heads/*:refs/remotes/origin/*
2728
if [ "$(git log $(git describe --tags --abbrev=0)..HEAD --oneline)" = "" ]; then
2829
echo "skip=true" >> "$GITHUB_OUTPUT"
2930
fi

0 commit comments

Comments
 (0)