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

Commit 50866ef

Browse files
committed
Rename 'Go Snapshot Action' to 'Go Dependency Submission'
1 parent ac080a3 commit 50866ef

File tree

4 files changed

+12
-19
lines changed

4 files changed

+12
-19
lines changed

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
# Go Snapshot Action
1+
# Go Dependency Submission
22

3-
An Action that creates a dependency submission using `go mod graph`.
4-
5-
Optional inputs for the Action include: `detector-name`, `detector-url`, `detector-version`, and `metadata` - a JSON of max eight keys to provide with the snapshot.
3+
An Action that calculates dependencies for a Go build-target (a Go file with a
4+
`main` function) and submits the list to the Dependency Submission API.
65

76
### Example
87
```yaml
9-
name: Go Action detection of dependencies
8+
name: Go Dependency Submission
109
on:
1110
push:
1211
branches:
@@ -36,10 +35,4 @@ jobs:
3635
# dependencies used by all build targets for the module, which may
3736
# include Go dependencies used by tests and tooling.
3837
go-build-target: go-example/cmd/octocat.go
39-
#
40-
# All of the below have defaults, but can be overriden manually
41-
detector-name: go snapshot action
42-
detector-url: ${{ github.server_url }}/${{ github.repository }}
43-
detector-version: 1.0.0
44-
metadata: '{"lastModified": "22-04-2022"}'
4538
```

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "go-snapshot-action",
2+
"name": "go-dependency-submission",
33
"version": "1.0.0",
4-
"description": "Go Snapshot Action",
4+
"description": "Go Dependency Submission",
55
"main": "dist/index.js",
66
"scripts": {
77
"build": "tsc",
@@ -15,15 +15,15 @@
1515
},
1616
"repository": {
1717
"type": "git",
18-
"url": "git+https://github.com/dsp-testing/go-snapshot-action.git"
18+
"url": "git+https://github.com/dsp-testing/go-dependency-submission.git"
1919
},
2020
"keywords": [],
2121
"author": "",
2222
"license": "ISC",
2323
"bugs": {
24-
"url": "https://github.com/dsp-testing/go-snapshot-action/issues"
24+
"url": "https://github.com/dsp-testing/go-dependency-submission/issues"
2525
},
26-
"homepage": "https://github.com/dsp-testing/go-snapshot-action#readme",
26+
"homepage": "https://github.com/dsp-testing/go-dependency-submission#readme",
2727
"devDependencies": {
2828
"@types/jest": "^27.5.2",
2929
"@typescript-eslint/eslint-plugin": "^5.20.0",

0 commit comments

Comments
 (0)