summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <faern@faern.net>2023-02-09 11:41:45 +0100
committerLinus Färnstrand <linus@mullvad.net>2023-03-03 10:20:56 +0100
commita91426f8842a0fff0fb6c4a1eb0e16df2c240249 (patch)
tree91378e3623569afacedb6e9eef5733f971631f3f
parent19b726dc1cda2238bb8b19f6542f1dc6e1feb24e (diff)
downloadmullvadvpn-a91426f8842a0fff0fb6c4a1eb0e16df2c240249.tar.xz
mullvadvpn-a91426f8842a0fff0fb6c4a1eb0e16df2c240249.zip
Ignore git warnings about safe directories (github actions limitation)
-rw-r--r--.github/workflows/daemon.yml4
-rw-r--r--.github/workflows/rust-unused-dependencies.yml4
2 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/daemon.yml b/.github/workflows/daemon.yml
index 2300169679..6e054dbd0d 100644
--- a/.github/workflows/daemon.yml
+++ b/.github/workflows/daemon.yml
@@ -69,7 +69,9 @@ jobs:
uses: actions/checkout@v3
- name: Checkout binaries submodule
- run: git submodule update --init --depth=1 dist-assets/binaries
+ run: |
+ git config --global --add safe.directory '*'
+ git submodule update --init --depth=1 dist-assets/binaries
# The container image already has rustup and Rust, but only the stable toolchain
- name: Install Rust toolchain
diff --git a/.github/workflows/rust-unused-dependencies.yml b/.github/workflows/rust-unused-dependencies.yml
index e1600ea340..e8d708667f 100644
--- a/.github/workflows/rust-unused-dependencies.yml
+++ b/.github/workflows/rust-unused-dependencies.yml
@@ -41,7 +41,9 @@ jobs:
uses: actions/checkout@v3
- name: Checkout binaries submodule
- run: git submodule update --init --depth=1 dist-assets/binaries
+ run: |
+ git config --global --add safe.directory '*'
+ git submodule update --init --depth=1 dist-assets/binaries
- name: Install nightly Rust toolchain
run: rustup default $RUST_NIGHTLY_TOOLCHAIN