File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : Continuous Integration
2
2
3
- on : [push, pull_request]
3
+ on : [push, pull_request, workflow_dispatch ]
4
4
5
5
jobs :
6
6
build :
Original file line number Diff line number Diff line change 4
4
schedule :
5
5
# Every night at midnight
6
6
- cron : ' 0 0 * * *'
7
-
7
+ workflow_dispatch :
8
+ inputs :
9
+ rev :
10
+ description : " Revision hash to run against"
11
+ required : false
12
+ default : " "
8
13
jobs :
9
14
dependencies :
10
15
name : Check for unused dependencies
11
16
runs-on : ubuntu-latest
12
17
steps :
13
18
- uses : actions/checkout@v2
19
+ with :
20
+ ref : " ${{ github.event.inputs.rev }}"
14
21
- name : Install latest Rust
15
22
uses : actions-rs/toolchain@v1
16
23
with :
25
32
runs-on : ubuntu-latest
26
33
steps :
27
34
- uses : actions/checkout@v2
35
+ with :
36
+ ref : " ${{ github.event.inputs.rev }}"
28
37
- name : Install latest Rust
29
38
uses : actions-rs/toolchain@v1
30
39
with :
You can’t perform that action at this time.
0 commit comments