File tree 1 file changed +20
-4
lines changed
1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 10
10
matrix :
11
11
operating-system :
12
12
[
13
- ubuntu-latest,
13
+ # ubuntu-latest,
14
14
windows-latest,
15
- macos-latest,
15
+ # macos-latest,
16
16
]
17
17
18
18
runs-on : ${{ matrix.operating-system }}
@@ -24,13 +24,29 @@ jobs:
24
24
- name : Checkout
25
25
uses : actions/checkout@v2
26
26
27
+ - name : test P$
28
+ run : |
29
+ fsutil 8dot3name set D: 0
30
+
31
+ fsutil 8dot3name query C:
32
+ fsutil 8dot3name query D:
33
+
34
+ $path = "D:\a\go-paths-helper\go-paths-helper\testdata\fileset\anotherFile"
35
+ "Long path: $path"
36
+
37
+ # convert it to 8.3 short name
38
+ $shortPath = (New-Object -ComObject Scripting.FileSystemObject).GetFile($path).ShortPath
39
+ "Short path: $shortPath"
40
+
27
41
- name : Install Go
28
42
uses : actions/setup-go@v2
29
43
with :
30
- go-version : " 1.21"
44
+ go-version : " 1.21.10 "
31
45
32
46
- name : Run unit tests
33
- run : go test -v ./... -coverprofile=coverage_unit.txt
47
+ run : |
48
+ fsutil 8dot3name set D: 0
49
+ go test -v ./... -coverprofile=coverage_unit.txt
34
50
35
51
- name : Send unit tests coverage to Codecov
36
52
uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments