Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0dfaaf68a6 | ||
|
|
13c5725e5d | ||
|
|
71a21b9b44 | ||
|
|
afc1e79235 | ||
|
|
5df5a4f93e | ||
|
|
ecfa79a36c | ||
|
|
7c97cf4cb3 |
@@ -1,5 +1,5 @@
|
|||||||
name: Go Dependency Submission
|
name: Go Dependency Submission
|
||||||
on
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
go-version: ">=1.18.0"
|
go-version: ">=1.18.0"
|
||||||
|
|
||||||
- name: Run snapshot action
|
- name: Run snapshot action
|
||||||
uses: actions/go-dependency-submission@main
|
uses: actions/go-dependency-submission@v1
|
||||||
with:
|
with:
|
||||||
go-mod-path: go-example/go.mod
|
go-mod-path: go-example/go.mod
|
||||||
go-build-target: go-example/cmd/octocat.go
|
go-build-target: go-example/cmd/octocat.go
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
go-version: ">=1.18.0"
|
go-version: ">=1.18.0"
|
||||||
|
|
||||||
- name: Run snapshot action
|
- name: Run snapshot action
|
||||||
uses: actions/go-dependency-submission@main
|
uses: actions/go-dependency-submission@v1
|
||||||
with:
|
with:
|
||||||
# Required: Define the repo path to the go.mod file used by the
|
# Required: Define the repo path to the go.mod file used by the
|
||||||
# build target
|
# build target
|
||||||
|
|||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
name: 'Go Action for Creating Dependency Snapshots'
|
name: 'Go Dependency Submission'
|
||||||
description: 'Detects go dependencies in projects using go mod graph utility'
|
description: 'Calculates dependencies for a Go build-target and submits the list to the Dependency Submission API'
|
||||||
author: 'lorenanicole'
|
author: 'GitHub'
|
||||||
inputs:
|
inputs:
|
||||||
token:
|
token:
|
||||||
description: "GitHub Personal Access Token (PAT). Defaults to PAT provided by Action runner"
|
description: "GitHub Personal Access Token (PAT). Defaults to PAT provided by Action runner"
|
||||||
|
|||||||
Reference in New Issue
Block a user