Skip to content

Commit

Permalink
Updates goreleaser details
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaize Kaye committed Jan 28, 2025
1 parent 22c2526 commit b7f7003
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v3
Expand Down
9 changes: 8 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com

version: 2

before:
hooks:
# download mods to local cache
- go mod download

builds:
-
env:
Expand All @@ -30,4 +34,7 @@ changelog:
- '^test:'
# SBOM configuration
sboms:
- artifacts: archive
- id: spdx
artifacts: binary
documents:
- "${artifact}.spdx.sbom.json"

0 comments on commit b7f7003

Please sign in to comment.