fix(scripts): ensure working directory is correct for make commands
This commit is contained in:
@@ -51,7 +51,7 @@ docker run --rm \
|
|||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /root/go/bin || exit 1
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /root/go/bin || exit 1
|
||||||
|
|
||||||
echo '📋 Running make fmt-check...'
|
echo '📋 Running make fmt-check...'
|
||||||
make fmt-check || exit 1
|
cd /workspace && make fmt-check || exit 1
|
||||||
|
|
||||||
echo '🔍 Running make lint...'
|
echo '🔍 Running make lint...'
|
||||||
make lint || exit 1
|
make lint || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user