diff options
| author | David Lönnhager <david.l@mullvad.net> | 2024-06-25 16:30:04 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2024-06-26 10:35:38 +0200 |
| commit | cb9dfb2b4dfa11da9ef96f69eb83e06874af10b1 (patch) | |
| tree | 02829670a85dcfc71a771aeb74df0594faa19588 /.github/workflows | |
| parent | da28bef80f3a603ff48ad97c95ba04358d11cb19 (diff) | |
| download | mullvadvpn-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.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/rust-unused-dependencies.yml | 8 |
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 |
