File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Inspect Git behaviour wrt newlines
2
+ on :
3
+ push :
4
+
5
+ jobs :
6
+ checkout :
7
+ runs-on : windows-latest
8
+ steps :
9
+ - name : Check out an old version
10
+ uses : actions/checkout@v4
11
+ with :
12
+ repository : llvm/llvm-project
13
+ ref : release/19.x
14
+ path : llvm-project-old
15
+ - name : Inspect newlines
16
+ shell : cmd
17
+ run : |
18
+ "c:\Program Files\Git\usr\bin\file.exe" llvm-project-old/clang/test/Driver/at_file.c
19
+ - name : Set autocrlf to false
20
+ run : |
21
+ git config --global core.autocrlf false
22
+ - name : Check out an old version, with a setting
23
+ uses : actions/checkout@v4
24
+ with :
25
+ repository : llvm/llvm-project
26
+ ref : release/19.x
27
+ path : llvm-project-old-setting
28
+ - name : Inspect newlines
29
+ shell : cmd
30
+ run : |
31
+ "c:\Program Files\Git\usr\bin\file.exe" llvm-project-old-setting/clang/test/Driver/at_file.c
32
+ - name : Check out a newer version
33
+ uses : actions/checkout@v4
34
+ with :
35
+ repository : llvm/llvm-project
36
+ ref : dccebddb3b802c4c1fe287222e454b63f850f012
37
+ path : llvm-project-new
38
+ - name : Inspect newlines
39
+ shell : cmd
40
+ run : |
41
+ "c:\Program Files\Git\usr\bin\file.exe" llvm-project-new/clang/test/Driver/at_file.c
You can’t perform that action at this time.
0 commit comments