summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-06-25 16:30:04 +0200
committerDavid Lönnhager <david.l@mullvad.net>2024-06-26 10:35:38 +0200
commitcb9dfb2b4dfa11da9ef96f69eb83e06874af10b1 (patch)
tree02829670a85dcfc71a771aeb74df0594faa19588 /.github/workflows
parentda28bef80f3a603ff48ad97c95ba04358d11cb19 (diff)
downloadmullvadvpn-cb9dfb2b4dfa11da9ef96f69eb83e06874af10b1.tar.xz
mullvadvpn-cb9dfb2b4dfa11da9ef96f69eb83e06874af10b1.zip
Check out necessary submodules in GitHub Actions workflows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/desktop-e2e.yml6
-rw-r--r--.github/workflows/rust-unused-dependencies.yml8
2 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml
index 7f106dcaf5..fe084898f8 100644
--- a/.github/workflows/desktop-e2e.yml
+++ b/.github/workflows/desktop-e2e.yml
@@ -232,8 +232,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- with:
- submodules: true
+ - name: Checkout submodules
+ run: |
+ git config --global --add safe.directory '*'
+ git submodule update --init --recursive --depth=1 wireguard-go-rs
- name: Install Go
uses: actions/setup-go@v3
with:
diff --git a/.github/workflows/rust-unused-dependencies.yml b/.github/workflows/rust-unused-dependencies.yml
index f845b1928e..3b384ed224 100644
--- a/.github/workflows/rust-unused-dependencies.yml
+++ b/.github/workflows/rust-unused-dependencies.yml
@@ -98,8 +98,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- with:
- submodules: true
+
+ - name: Checkout wireguard-go submodule
+ if: matrix.os == 'macos-latest'
+ run: |
+ git config --global --add safe.directory '*'
+ git submodule update --init --recursive --depth=1 wireguard-go-rs
- name: Install Protoc
uses: arduino/setup-protoc@v3