File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,18 @@ jobs:
38
38
runs-on : ubuntu-latest
39
39
steps :
40
40
- uses : actions/checkout@v4
41
+ with :
42
+ persist-credentials : false
41
43
- uses : actions/setup-go@v5
42
44
with :
43
45
go-version-file : go.mod
44
46
cache : true
45
47
- name : Test
46
- run : go test ./...
48
+ run : go test -v ./... | tee "${RUNNER_TEMP}/go-test-results.txt"
49
+ - uses : actions/upload-artifact@v4
50
+ with :
51
+ name : go-test-results
52
+ path : " ${{ env.RUNNER_TEMP }}/go-test-results.txt"
47
53
48
54
build :
49
55
needs : test
62
68
steps :
63
69
- uses : actions/checkout@v4
64
70
with :
71
+ persist-credentials : false
65
72
fetch-depth : 0
66
73
fetch-tags : true
67
74
- uses : actions/setup-go@v5
Original file line number Diff line number Diff line change @@ -33,12 +33,14 @@ jobs:
33
33
runs-on : ubuntu-latest
34
34
steps :
35
35
- uses : actions/checkout@v4
36
+ with :
37
+ persist-credentials : false
36
38
- uses : actions/setup-go@v5
37
39
with :
38
40
go-version : ' >=1.18'
39
41
cache : true
40
42
- name : Test
41
- run : go test ./...
43
+ run : go test -v ./...
42
44
43
45
build :
44
46
needs : test
56
58
57
59
steps :
58
60
- uses : actions/checkout@v4
61
+ with :
62
+ persist-credentials : false
59
63
- uses : actions/setup-go@v5
60
64
with :
61
65
go-version : ' >=1.18'
You can’t perform that action at this time.
0 commit comments