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