add insecure flag for skipping tls certificate check #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: | |
- master | |
# The API requires write permission on the repository to submit dependencies | |
permissions: | |
contents: write | |
env: | |
GOPROXY: '' # A Go Proxy server to be used | |
GOPRIVATE: '' # A list of modules are considered private and not requested from GOPROXY | |
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: actions/go-dependency-submission@v1 | |
with: | |
go-mod-path: go.mod |