Skip to content

Merge pull request #484 from kubernetes-sigs/dependabot/github_action… #477

Merge pull request #484 from kubernetes-sigs/dependabot/github_action…

Merge pull request #484 from kubernetes-sigs/dependabot/github_action… #477

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.23'
check-latest: true
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.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