ci: fix lint VSC permissions error

This commit is contained in:
yyforyongyu 2023-02-01 00:49:43 +08:00
parent 5b354c6598
commit 22c1605687
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868
2 changed files with 5 additions and 2 deletions

View file

@ -396,7 +396,9 @@ Keysend](https://github.com/lightningnetwork/lnd/pull/7334).
builds](https://github.com/lightningnetwork/lnd/pull/7295).
* Fixed docker image version used in
[`tools`](https://github.com/lightningnetwork/lnd/pull/7254).
[`tools`](https://github.com/lightningnetwork/lnd/pull/7254) and golangci
issue where [it cannot fetch
commits](https://github.com/lightningnetwork/lnd/pull/7374).
### Integration test

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