File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Expand file tree Collapse file tree 1 file changed +24
-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,33 @@ 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 = "C:\Program Files\PowerShell\7\pwsh.exe"
35
+ "Long path: $path"
36
+ # convert it to 8.3 short name
37
+ $shortPath = (New-Object -ComObject Scripting.FileSystemObject).GetFile($path).ShortPath
38
+ "Short path: $shortPath"
39
+
40
+ $path2 = "D:\a\go-paths-helper\go-paths-helper\testdata\fileset\anotherFile"
41
+ "Long path2: $path2"
42
+ # convert it to 8.3 short name
43
+ $shortPath2 = (New-Object -ComObject Scripting.FileSystemObject).GetFile($path2).ShortPath
44
+ "Short path2: $shortPath2"
45
+
27
46
- name : Install Go
28
47
uses : actions/setup-go@v2
29
48
with :
30
- go-version : " 1.21"
49
+ go-version : " 1.21.10 "
31
50
32
51
- name : Run unit tests
33
- run : go test -v ./... -coverprofile=coverage_unit.txt
52
+ run : |
53
+ go test -v ./... -coverprofile=coverage_unit.txt
34
54
35
55
- name : Send unit tests coverage to Codecov
36
56
uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments