File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 88 branch_name :
99 description : ' Name of the feature branch on the forked repo'
1010 required : true
11+ language_edition :
12+ description : ' Rust language `edition` used to parse code'
13+ required : true
14+ default : 2015
15+ type : choice
16+ options :
17+ - 2015
18+ - 2018
19+ - 2021
20+ - 2024
21+ style_edition :
22+ description : ' rustfmt `style_edition` used when formatting code.'
23+ required : true
24+ default : 2021
25+ type : choice
26+ options :
27+ - 2021 # 2015, 2018, and 2021 are all formatted the same since `style_edition` was added between 2021 and 2024
28+ - 2024
1129 commit_hash :
1230 description : ' Optional commit hash from the feature branch'
1331 required : false
4462 fi
4563
4664 target/release/check_diff ${{ github.event.inputs.clone_url }} ${{ github.event.inputs.branch_name }} \
65+ --edition ${{ github.event.inputs.language_edition }} \
66+ --style-edition ${{ github.event.inputs.style_edition }} \
4767 $OPTIONS
You can’t perform that action at this time.
0 commit comments