Skip to content

Commit

Permalink
use go install instead of go get in spec.bats
Browse files Browse the repository at this point in the history
Signed-off-by: lifubang <lifubang@acmcoder.com>
  • Loading branch information
lifubang committed Mar 30, 2024
1 parent 33a8584 commit 3144923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/spec.bats
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ function teardown() {
SCHEMA='runtime-spec/schema/config-schema.json'
[ -e "$SCHEMA" ]

GO111MODULE=auto go get github.com/xeipuuv/gojsonschema
GO111MODULE=auto go build runtime-spec/schema/validate.go
go install github.com/xeipuuv/gojsonschema@latest
go build runtime-spec/schema/validate.go

./validate "$SCHEMA" config.json
}

0 comments on commit 3144923

Please sign in to comment.