ci: fix lint VSC permissions error

This commit is contained in:
yyforyongyu committed 2023-02-01 01:00:55 +08:00
1 parent 5b354c6598
commit 22c1605687
2 files changed
+5 -2

No files matched your search

+2 -1
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