File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 18
18
branches : [ main ]
19
19
pull_request :
20
20
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 * * *'
21
31
22
32
jobs :
23
33
24
34
# Build job - basic smoke test
25
35
check :
26
36
runs-on : ubuntu-latest
27
37
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 default nightly
43
+ echo "ICU4X_NIGHTLY_TOOLCHAIN=nightly" >> >> $GITHUB_ENV
28
44
- uses : actions/checkout@v2
29
45
- name : Load the default Rust toolchain via the rust-toolchain file.
30
46
run : rustup show
You can’t perform that action at this time.
0 commit comments