This repository was archived by the owner on Nov 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +15
-9
lines changed
Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 44 ruby-version :
55 description : " ruby version"
66 required : true
7- default : " 3.0.0 "
7+ default : " 3.1.1 "
88runs :
99 using : " composite"
1010 steps :
Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616 steps :
1717 - name : checkout
18- uses : actions/checkout@v2
18+ uses : actions/checkout@v3
1919
2020 - name : make repos.zip
2121 uses : ./.github/actions/make-repos-zip
4343 - { os: windows-latest, exe: .exe, target: x86_64-pc-windows-gnu }
4444 steps :
4545 - name : checkout
46- uses : actions/checkout@v2
46+ uses : actions/checkout@v3
4747
4848 - name : download repos
4949 uses : actions/download-artifact@v2
6666 - name : install ruby
6767 uses : ruby/setup-ruby@v1
6868 with :
69- ruby-version : " 3.0.0 "
69+ ruby-version : " 3.1.1 "
7070
7171 - name : test rust-parser
7272 run : |
9595 runs-on : ubuntu-latest
9696 steps :
9797 - name : checkout
98- uses : actions/checkout@v2
98+ uses : actions/checkout@v3
9999
100100 # Parsers
101101 - uses : actions/download-artifact@v2
Original file line number Diff line number Diff line change 2727 - { os: windows-latest, target: x86_64-pc-windows-gnu }
2828 steps :
2929 - name : checkout
30- uses : actions/checkout@v2
30+ uses : actions/checkout@v3
3131
3232 - name : build rust-parser
3333 uses : ./.github/actions/make-rust-parser
4949 runs-on : ubuntu-latest
5050 steps :
5151 - name : checkout
52- uses : actions/checkout@v2
52+ uses : actions/checkout@v3
5353
5454 - name : make repos.zip
5555 uses : ./.github/actions/make-repos-zip
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ version = "0.1.0"
77
88[dependencies ]
99jemallocator = {version = " 0.3.2" , optional = true }
10- lib-ruby-parser = " 4.0.0 +ruby-3.1.0 "
10+ lib-ruby-parser = " 4.0.1 +ruby-3.1.1 "
1111
1212[profile .release ]
1313lto = true
Original file line number Diff line number Diff line change @@ -9,7 +9,13 @@ use lib_ruby_parser::{Parser, ParserOptions};
99use std:: time:: Instant ;
1010
1111fn files_to_parse ( ) -> Vec < FileToParse > {
12- let filelist_path = std:: env:: var ( "FILELIST_PATH" ) . unwrap ( ) ;
12+ let filelist_path = std:: env:: var ( "FILELIST_PATH" ) . unwrap_or_else ( |_| {
13+ println ! (
14+ "Usage:
15+ FILELIST_PATH=<path/to/filelist> ./rust-parser"
16+ ) ;
17+ std:: process:: exit ( 1 ) ;
18+ } ) ;
1319 let filelist = std:: fs:: read_to_string ( & filelist_path) . unwrap ( ) ;
1420
1521 filelist
You can’t perform that action at this time.
0 commit comments