Compare commits

..
3 changed files with 6 additions and 6 deletions
@@ -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
+1 -1
View File
@@ -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
View File
@@ -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"