Handle .tool-versions' line break on Windows (#357)

* Test .tool-version on top of Windows

* Parse .tool-version with Windows-style line endings
This commit is contained in:
Paulo F. Oliveira
2025-07-03 17:35:06 +01:00
committed by GitHub
parent 6389fe58dc
commit 1fe9179886
4 changed files with 19 additions and 7 deletions
+8
View File
@@ -90,6 +90,14 @@ jobs:
node-version: '20'
- run: npm install --production
- run: npm test
- name: .tool-versions test
id: setup-beam
uses: ./
with:
install-rebar: false
install-hex: false
version-file: test/.tool-versions
version-type: strict
unit_tests_macos:
name: Unit tests (macOS)