Skip to content

Merge pull request #504 from kubernetes-sigs/dependabot/go_modules/al… #518

Merge pull request #504 from kubernetes-sigs/dependabot/go_modules/al…

Merge pull request #504 from kubernetes-sigs/dependabot/go_modules/al… #518

Workflow file for this run

name: Snapshot
on:
push:
branches:
- 'main'
pull_request:
jobs:
snapshot:
runs-on: ubuntu-latest
steps:
- name: Check out code onto GOPATH
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: '1.23'
check-latest: true
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0
with:
install-only: true
- name: Run Mage
uses: magefile/mage-action@6a5dcb5fe61f43d7c08a98bc3cf9bc63c308c08e # v3.0.0
with:
version: latest
args: buildBinariesSnapshot
- name: check binary
run: |
./dist/bom-amd64-linux version
cat ./dist/bom.json.spdx