Skip to content

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

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

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

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.21'
check-latest: true
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.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