From 8d768f4584913e51f7895246fe637d1bc2b8ac67 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sat, 14 Nov 2026 23:44:30 +0800 Subject: [PATCH] build: enforce LF source checkouts with Git attributes --- .gitattributes | 2 ++ .github/workflows/build-windows.yaml | 3 --- crates/openconnect/deps/openconnect | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..86b39e9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Keep source and build scripts consistent on every platform. +* text=auto eol=lf diff --git a/.github/workflows/build-windows.yaml b/.github/workflows/build-windows.yaml index fa985ed..edb30ae 100644 --- a/.github/workflows/build-windows.yaml +++ b/.github/workflows/build-windows.yaml @@ -37,9 +37,6 @@ jobs: GPGUI_WINDOWS_UPDATE_PUBLIC_KEY: ${{ vars.WINDOWS_UPDATE_PUBLIC_KEY }} GPGUI_LICENSE_SIGNING_KEYS: ${{ vars.GPGUI_LICENSE_SIGNING_KEYS }} steps: - - name: Preserve Unix source line endings - shell: pwsh - run: git config --global core.autocrlf false - uses: actions/checkout@v6 with: path: .ci diff --git a/crates/openconnect/deps/openconnect b/crates/openconnect/deps/openconnect index a2ff5e4..067e90c 160000 --- a/crates/openconnect/deps/openconnect +++ b/crates/openconnect/deps/openconnect @@ -1 +1 @@ -Subproject commit a2ff5e4b011cf1afec10ed33886b3ac2d39d2163 +Subproject commit 067e90c8de49abe77deefe046c54cf4e11855f1b