mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 15:31:21 +00:00
ci: force git to use LF on win to pass tests on linguist samples
This mitigates the problem that tokenizer uses regex that matches platform-specific line endings TestPlan: - go test ./internal/code-generator/generator \ -run Test_GeneratorTestSuite -testify.m TestTokenizerOnATS Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
3ea961e5ab
commit
172486906a
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -13,6 +13,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
|
|
||||||
|
- name: Set git on win to use LF
|
||||||
|
run: |
|
||||||
|
git config --global core.autocrlf false
|
||||||
|
git config --global core.eol lf
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Test
|
- name: Test
|
||||||
|
Loading…
Reference in New Issue
Block a user