@@ -112,8 +112,8 @@ jobs:
112112 - name : Cache generated parser
113113 uses : actions/cache@v2
114114 with :
115- path : parser/python.rs
116- key : lalrpop-${{ hashFiles('parser/python.lalrpop') }}
115+ path : compiler/ parser/python.rs
116+ key : lalrpop-${{ hashFiles('compiler/ parser/python.lalrpop') }}
117117 - uses : dtolnay/rust-toolchain@stable
118118 - name : Set up the Windows environment
119119 shell : bash
@@ -156,8 +156,8 @@ jobs:
156156 - name : Cache generated parser
157157 uses : actions/cache@v2
158158 with :
159- path : parser/python.rs
160- key : lalrpop-${{ hashFiles('parser/python.lalrpop') }}
159+ path : compiler/ parser/python.rs
160+ key : lalrpop-${{ hashFiles('compiler/ parser/python.lalrpop') }}
161161
162162 - uses : dtolnay/rust-toolchain@stable
163163 with :
@@ -226,8 +226,8 @@ jobs:
226226 - name : Cache generated parser
227227 uses : actions/cache@v2
228228 with :
229- path : parser/python.rs
230- key : lalrpop-${{ hashFiles('parser/python.lalrpop') }}
229+ path : compiler/ parser/python.rs
230+ key : lalrpop-${{ hashFiles('compiler/ parser/python.lalrpop') }}
231231
232232 - uses : dtolnay/rust-toolchain@stable
233233 - uses : actions/setup-python@v2
@@ -288,17 +288,17 @@ jobs:
288288 - name : Cache generated parser
289289 uses : actions/cache@v2
290290 with :
291- path : parser/python.rs
292- key : lalrpop-${{ hashFiles('parser/python.lalrpop') }}
291+ path : compiler/ parser/python.rs
292+ key : lalrpop-${{ hashFiles('compiler/ parser/python.lalrpop') }}
293293 - name : Check if cached generated parser exists
294294 id : generated_parser
295295 uses : andstor/file-existence-action@v1
296296 with :
297- files : " parser/python.rs"
297+ files : " compiler/ parser/python.rs"
298298 - if : runner.os == 'Windows'
299299 name : Force python.lalrpop to be lf # actions@checkout ignore .gitattributes
300300 run : |
301- set file parser/python.lalrpop; ((Get-Content $file) -join "`n") + "`n" | Set-Content -NoNewline $file
301+ set file compiler/ parser/python.lalrpop; ((Get-Content $file) -join "`n") + "`n" | Set-Content -NoNewline $file
302302 - name : Install lalrpop
303303 if : steps.generated_parser.outputs.files_exists == 'false'
304304 uses : baptiste0928/cargo-install@v1
@@ -307,7 +307,7 @@ jobs:
307307 version : " 0.19.8"
308308 - name : Run lalrpop
309309 if : steps.generated_parser.outputs.files_exists == 'false'
310- run : lalrpop parser/python.lalrpop
310+ run : lalrpop compiler/ parser/python.lalrpop
311311
312312 lint :
313313 name : Check Rust code with rustfmt and clippy
@@ -318,8 +318,8 @@ jobs:
318318 - name : Cache generated parser
319319 uses : actions/cache@v2
320320 with :
321- path : parser/python.rs
322- key : lalrpop-${{ hashFiles('parser/python.lalrpop') }}
321+ path : compiler/ parser/python.rs
322+ key : lalrpop-${{ hashFiles('compiler/ parser/python.lalrpop') }}
323323 - uses : dtolnay/rust-toolchain@stable
324324 with :
325325 components : rustfmt, clippy
@@ -351,8 +351,8 @@ jobs:
351351 - name : Cache generated parser
352352 uses : actions/cache@v2
353353 with :
354- path : parser/python.rs
355- key : lalrpop-${{ hashFiles('parser/python.lalrpop') }}
354+ path : compiler/ parser/python.rs
355+ key : lalrpop-${{ hashFiles('compiler/ parser/python.lalrpop') }}
356356 - uses : dtolnay/rust-toolchain@master
357357 with :
358358 toolchain : nightly
@@ -372,8 +372,8 @@ jobs:
372372 - name : Cache generated parser
373373 uses : actions/cache@v2
374374 with :
375- path : parser/python.rs
376- key : lalrpop-${{ hashFiles('parser/python.lalrpop') }}
375+ path : compiler/ parser/python.rs
376+ key : lalrpop-${{ hashFiles('compiler/ parser/python.lalrpop') }}
377377 - uses : dtolnay/rust-toolchain@stable
378378 - uses : Swatinem/rust-cache@v1
379379 - name : install wasm-pack
@@ -420,8 +420,8 @@ jobs:
420420 - name : Cache generated parser
421421 uses : actions/cache@v2
422422 with :
423- path : parser/python.rs
424- key : lalrpop-${{ hashFiles('parser/python.lalrpop') }}
423+ path : compiler/ parser/python.rs
424+ key : lalrpop-${{ hashFiles('compiler/ parser/python.lalrpop') }}
425425 - uses : dtolnay/rust-toolchain@stable
426426 with :
427427 target : wasm32-wasi
0 commit comments