File tree Expand file tree Collapse file tree 3 files changed +13
-187
lines changed
Expand file tree Collapse file tree 3 files changed +13
-187
lines changed Original file line number Diff line number Diff line change 2323 uses : ./action/.
2424 id : test-1
2525 with :
26+ version : ${{ github.sha }}
2627 config : ./.github/workflows/testdata/zero.yml
2728
2829 - name : " check: test output values"
3637 id : test-2
3738 continue-on-error : true
3839 with :
40+ version : ${{ github.sha }}
3941 config : ./.github/workflows/testdata/total100.yml
4042
4143 - name : " check: test should have failed"
5254 uses : ./action/.
5355 id : test-3
5456 with :
57+ version : ${{ github.sha }}
5558 profile : cover.out
5659 threshold-file : 0
5760 threshold-package : 0
6467 id : test-4
6568 continue-on-error : true
6669 with :
70+ version : ${{ github.sha }}
6771 profile : cover.out
6872 threshold-file : 0
6973 threshold-package : 0
7983 uses : ./action/.
8084 id : test-5
8185 with :
86+ version : ${{ github.sha }}
8287 config : ./.github/workflows/testdata/total100.yml
8388 threshold-file : 0
8489 threshold-package : 0
9196 id : test-6
9297 continue-on-error : true
9398 with :
99+ version : ${{ github.sha }}
94100 profile : unexistant-profile.out
95101 debug : true
96102 threshold-file : 0
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -129,6 +129,12 @@ inputs:
129129 default : .badges/${{ github.ref_name }}/coverage.svg
130130 type : string
131131
132+ version :
133+ description : Version of go-test-coverage source to run
134+ required : false
135+ default : v2.14.3
136+ type : string
137+
132138outputs :
133139 report :
134140 description : JSON-encoded string containing the detailed test coverage report.
@@ -161,7 +167,7 @@ runs:
161167 id : coverage
162168 shell : bash
163169 run : |
164- go run github.com/vladopajic/go-test-coverage/v2@78970591c7bd59dc59031d62c210798ef618d1e0 \
170+ go run github.com/vladopajic/go-test-coverage/v2@${{ inputs.version }} \
165171 --config=${{ inputs.config || '***' }} \
166172 --profile=${{ inputs.profile || '***' }} \
167173 --source-dir=${{ inputs.source-dir || '***' }} \
You can’t perform that action at this time.
0 commit comments