ci: fix lint VSC permissions error

This commit is contained in:
yyforyongyu
2023-02-01 00:49:43 +08:00
parent 5b354c6598
commit 22c1605687
2 changed files with 5 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ RUN cd /tmp \
&& mkdir -p /tmp/build/.modcache \
&& cd /tmp/tools \
&& go install -trimpath -tags=tools github.com/golangci/golangci-lint/cmd/golangci-lint \
&& chmod -R 777 /tmp/build/
&& chmod -R 777 /tmp/build/ \
&& git config --global --add safe.directory /build
WORKDIR /build