terramate-io / terramate

Terramate CLI is an open-source Infrastructure as Code (IaC) Orchestration and Code Generation tool for Terraform, OpenTofu and Terragrunt.
https://terramate.io
Mozilla Public License 2.0
3.28k stars 92 forks source link

ci: use core.autocrlf=input to avoid LF conversions on Windows checkout. #1917

Closed i4ki closed 1 month ago

i4ki commented 1 month ago

What this PR does / why we need it:

Fixes two issues in Windows CI:

  1. core.crlf was set after project was already cloned, then files were being converted.
  2. core.crlf must be set to input to keep original EOL (we don't want conversions).

Which issue(s) this PR fixes:

none

Special notes for your reviewer:

Does this PR introduce a user-facing change?

no
github-actions[bot] commented 1 month ago

Preview of ubuntu-focal/go1.21 tests in 850821d26fdc9cf460ff96ec1b3b5c13b5376238

:mag: View Details on Terramate Cloud

.
github-actions[bot] commented 1 month ago

Preview of macos-ventura/go1.21 tests in 850821d26fdc9cf460ff96ec1b3b5c13b5376238

:mag: View Details on Terramate Cloud

.