Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Commit eedb5d7

Browse files
authored
Update action.yml
1 parent bb061b8 commit eedb5d7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/go-action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
uses: dsp-testing/go-snapshot-action@lsep/go-list-impl
1919
with:
2020
go-mod-path: go-example/go.mod
21-
go-build-target: cmd/octocat.go
21+
go-build-target: go-example/cmd/octocat.go

action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ inputs:
2121
metadata:
2222
required: false
2323
description: 'User provided map of max key/value pairs of metadata to include with the snapshot e.g. {"lastModified": "12-31-2022"}'
24+
go-mod-path:
25+
required: true
26+
description: 'Repo path to the go.mod file used to detect dependencies for the Go build target'
27+
go-build-target:
28+
required: true
29+
description: 'Build target to detect build dependencies. If unspecified, will use "all", with will detect all dependencies used in all build targets (including tests and tools).'
30+
default: 'all'
2431
runs:
2532
using: 'node16'
2633
main: 'dist/index.js'

0 commit comments

Comments
 (0)