-
Notifications
You must be signed in to change notification settings - Fork 9
/
action.yml
38 lines (38 loc) · 1.18 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: 'Go Test Action'
description: 'Run `go test` with rich summary output and annotations.'
branding:
icon: 'check-circle'
color: 'green'
inputs:
moduleDirectory:
description: 'Directory of go module to test'
required: false
default: '.'
testArguments:
description: 'Arguments to `go test`, `-json` will be prepended'
required: false
default: './...'
fromJSONFile:
description: 'Parse the specified JSON file, instead of executing go test'
required: false
omit:
description: 'Whitespace separated list of renderable items to omit. See README.md for details.'
required: false
# deprecated, use `omit` with `untested`
omitUntestedPackages:
description: 'Omit any packages from summary output that do not have tests'
required: false
default: 'false'
# deprecated, use `omit` with `pie`
omitPie:
description: 'Omit the pie chart from the summary output'
required: false
default: 'false'
# deprecated, use `omit` with `successful`
omitSuccessfulPackages:
description: 'Omit any packages from summary output that are successful'
required: false
default: 'false'
runs:
using: 'node20'
main: 'dist/index.js'