mirror of
https://github.com/slsa-framework/slsa-verifier.git
synced 2026-08-26 09:37:19 +00:00
refactor: add subcommands and separate functionality from artifacts a… (#231)
* refactor: add subcommands and separate functionality from artifacts and images Signed-off-by: Asra Ali <asraa@google.com>
This commit is contained in:
@@ -11,4 +11,7 @@ flags:
|
||||
goos: linux
|
||||
goarch: amd64
|
||||
binary: slsa-verifier-{{ .Os }}-{{ .Arch }}
|
||||
dir: ./cli/slsa-verifier
|
||||
dir: ./cli/slsa-verifier
|
||||
|
||||
ldflags:
|
||||
- "-X version.Version={{ .Version }}"
|
||||
|
||||
@@ -22,10 +22,10 @@ jobs:
|
||||
go mod vendor
|
||||
|
||||
# Build cli
|
||||
go build -mod=vendor -o slsa-verifier ./cli/slsa-verifier/main.go
|
||||
go build -mod=vendor -o slsa-verifier ./cli/slsa-verifier/
|
||||
|
||||
# Builder service
|
||||
go build -mod=vendor -o service ./cli/experimental/service/main.go
|
||||
go build -mod=vendor -o service ./cli/experimental/service/
|
||||
|
||||
# Tests
|
||||
go test -mod=vendor -v ./...
|
||||
|
||||
Reference in New Issue
Block a user