Skip to content

Commit

Permalink
Update build_and_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
horizon220222 authored Jul 9, 2023
1 parent 4ee2b6c commit 2b671a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ for file in `find . -name go.mod`; do
fi
fi

# package sqlitecgo needs golang >= v1.20
# package otlpgrpc needs golang >= v1.20
if [ "otlpgrpc" = $(basename $dirpath) ]; then
if ! go version|grep -q "1.20"; then
echo "ignore otlpgrpc as go version: $(go version)"
Expand All @@ -52,7 +52,7 @@ for file in `find . -name go.mod`; do
fi
fi

# package otlphttp needs golang >= v1.17
# package sqlitecgo needs golang >= v1.17
if [ "sqlitecgo" = $(basename $dirpath) ]; then
if ! go version|grep -q "1.17"; then
echo "ignore otlphttp as go version: $(go version)"
Expand Down

0 comments on commit 2b671a1

Please sign in to comment.