Skip to content

Commit

Permalink
Merge pull request #507 from flatcar/fix-test
Browse files Browse the repository at this point in the history
Fix test script for Go >=1.20
  • Loading branch information
jepio authored Mar 14, 2024
2 parents 72d3455 + 2bd1b95 commit 3c320c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ trap "rm -rf _testbin/" EXIT
pkgs=$(go list $PKG | grep -v /vendor/)
src=$(find . -name '*.go' -not -path "./vendor/*")

echo "Building tests..."
go test -mod=vendor -i "$@" $pkgs
echo "Building"
go install -mod=vendor $pkgs

echo "Running tests..."
Expand Down

0 comments on commit 3c320c9

Please sign in to comment.