Skip to content

Commit c0dc96a

Browse files
committed
To avoid pulling the entire branch history, set actions/checkout's fetch-depth to 2
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 057b6d0 commit c0dc96a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Windows CI
22
on:
33
push:
44
branches:
5-
- 'master'
5+
- master
66
pull_request:
77
env:
88
OPAMROOT: D:\opamroot
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- name: Checkout tree
1919
uses: actions/checkout@v5
20+
with:
21+
fetch-depth: 2
2022

2123
- name: Download install.ps1
2224
run: |

0 commit comments

Comments
 (0)