Skip to content

relprep: Preparing the 1.0.0 release. #45

relprep: Preparing the 1.0.0 release.

relprep: Preparing the 1.0.0 release. #45

---
name: Go Dependency Submission
on:
push:
branches:
- main
permissions:
contents: read
jobs:
go-action-detection:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
egress-policy: audit
- name: Checkout Source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '>= 1.21'
cache: true
- name: Run snapshot action
uses: actions/go-dependency-submission@1694cb96294964b25b39ef4e8fa7430558d9bed9 # v1.0.3
with:
# Required: Define the repo path to the go.mod file used by the
# build target
go-mod-path: go.mod