File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 branches : [ main ]
1919 pull_request :
2020 branches : ' *'
21+ workflow_dispatch :
22+ inputs :
23+ nightly :
24+ description : " Test on latest nightly"
25+ required : true
26+ default : false
27+ type : boolean
28+ schedule :
29+ # Run nightly cronjob CI every day at 14 UTC / 6AM PST / 3PM CET
30+ - cron : ' 0 14 * * *'
2131
2232jobs :
2333
2434 # Build job - basic smoke test
2535 check :
2636 runs-on : ubuntu-latest
2737 steps :
38+ - name : Set the rust toolchain to use
39+ # pull_request is a fake for me to be able to test this for now
40+ if : " github.event.schedule || github.event.pull_request || (github.event.workflow_dispatch && inputs.nightly)"
41+ run : |
42+ rustup override nightly
43+ echo "ICU4X_NIGHTLY_TOOLCHAIN=nightly" >> $GITHUB_ENV
2844 - uses : actions/checkout@v2
2945 - name : Load the default Rust toolchain via the rust-toolchain file.
3046 run : rustup show
You can’t perform that action at this time.
0 commit comments