File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,30 @@ permissions:
19
19
20
20
jobs :
21
21
tests :
22
+ env :
23
+ LAUNCHABLE_TOKEN : ${{ secrets.LAUNCHABLE_GO_EXAMPLE_TOKEN }}
22
24
runs-on : ubuntu-latest
23
25
steps :
24
- - uses : actions/checkout@v3
26
+ - uses : actions/checkout@v2
25
27
- name : Set up Go
26
- uses : actions/setup-go@v4
28
+ uses : actions/setup-go@v2
27
29
with :
28
30
go-version : 1.18
29
31
- name : Clone go-test example
30
32
run : git clone https://github.com/launchableinc/examples.git
31
33
- name : Install dependencies
32
34
run : go install github.com/jstemmer/go-junit-report@latest
33
- - name : Record build
35
+ - name : Record build action
34
36
uses : ./
35
- # uses: launchableinc/[email protected]
36
37
with :
37
38
build_name : $GITHUB_RUN_ID
39
+ source_path : ./examples/go/
38
40
- name : test
39
41
run : cd examples/go && go test -v ./... 2>&1 | go-junit-report -set-exit-code > report.xml
42
+ - name : Record test results to build action
43
+ uses :
launchableinc/[email protected]
44
+ with :
45
+ build_name : $GITHUB_RUN_ID
46
+ report_path : ./examples/go/
47
+ test_runner : go-test
48
+ if : always()
You can’t perform that action at this time.
0 commit comments