Release public version of the Go Dependency Submission action

This commit is contained in:
Lane Seppala
2022-06-15 16:36:38 -06:00
commit 054f21a184
31 changed files with 31659 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name: Go Action detection of dependencies
on:
push
jobs:
go-action-detection:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ">=1.18.0"
- name: Run snapshot action
uses: dsp-testing/go-snapshot-action@main
with:
go-mod-path: go-example/go.mod
go-build-target: go-example/cmd/octocat.go
+22
View File
@@ -0,0 +1,22 @@
name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
branches:
- main
- 'releases/*'
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
npm ci
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- run: |
npm run all