Merge pull request #85 from chialab/dependabot/go_modules/aws-7a8c8b8276 #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Go Dependency Submission" | |
on: | |
push: | |
branches: [ main ] | |
permissions: | |
contents: write | |
jobs: | |
go-action-detection: | |
name: Submit dependencies | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Run snapshot action | |
uses: actions/go-dependency-submission@v2 | |
with: | |
go-mod-path: go.mod | |
go-build-target: main.go |