diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-09-11 17:17:56 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-09-11 17:17:56 +0200 |
| commit | e99c195e78a7991cb9eec3d00da05acb5416ca24 (patch) | |
| tree | ae7690f205fe2cbe19fc85b2000d261d48e074fa | |
| parent | d7ba64465303c7accea501ab8bd3f1a870277e07 (diff) | |
| parent | 67b9020bf9140b6abc841527e07c4e8a2f9fa4b4 (diff) | |
| download | mullvadvpn-e99c195e78a7991cb9eec3d00da05acb5416ca24.tar.xz mullvadvpn-e99c195e78a7991cb9eec3d00da05acb5416ca24.zip | |
Merge branch 'fix-workflows-long-path'
| -rw-r--r-- | .github/workflows/clippy.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/rust-unused-dependencies.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/testframework-clippy.yml | 5 |
3 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 0c35a4d6d4..1e448fb863 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -37,6 +37,12 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: + # By default, the longest path a filename can have in git on Windows is 260 character. + - name: Set git config for long paths + if: runner.os == 'Windows' + run: | + git config --system core.longpaths true + - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/rust-unused-dependencies.yml b/.github/workflows/rust-unused-dependencies.yml index 6d53de53c5..b5caa33e97 100644 --- a/.github/workflows/rust-unused-dependencies.yml +++ b/.github/workflows/rust-unused-dependencies.yml @@ -99,6 +99,12 @@ jobs: os: [windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: + # By default, the longest path a filename can have in git on Windows is 260 character. + - name: Set git config for long paths + if: runner.os == 'Windows' + run: | + git config --system core.longpaths true + - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/testframework-clippy.yml b/.github/workflows/testframework-clippy.yml index d5125f4fc9..34926e20c7 100644 --- a/.github/workflows/testframework-clippy.yml +++ b/.github/workflows/testframework-clippy.yml @@ -51,6 +51,11 @@ jobs: name: Clippy linting of test workspace (Windows) runs-on: windows-latest steps: + # By default, the longest path a filename can have in git on Windows is 260 character. + - name: Set git config for long paths + run: | + git config --system core.longpaths true + - name: Checkout repository uses: actions/checkout@v4 |
