Skip to content

Commit eb09eb3

Browse files
committed
force python.lalrpop lf
1 parent 1bae603 commit eb09eb3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,13 +295,17 @@ jobs:
295295
uses: andstor/file-existence-action@v1
296296
with:
297297
files: "parser/python.rs"
298+
- if: runner.os == 'Windows'
299+
name: Force python.lalrpop to be lf # actions@checkout ignore .gitattributes
300+
run: |
301+
set file parser/python.lalrpop; ((Get-Content $file) -join "`n") + "`n" | Set-Content -NoNewline $file
298302
- name: Install lalrpop
299303
if: steps.generated_parser.outputs.files_exists == 'false'
300304
uses: baptiste0928/cargo-install@v1
301305
with:
302306
crate: lalrpop
303307
version: "0.19.8"
304-
- name: Run lalpop
308+
- name: Run lalrpop
305309
if: steps.generated_parser.outputs.files_exists == 'false'
306310
run: lalrpop parser/python.lalrpop
307311

0 commit comments

Comments
 (0)