File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
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 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
9
14
jobs :
10
15
dependencies :
11
16
name : Check for unused dependencies
12
17
runs-on : ubuntu-latest
13
18
steps :
14
19
- uses : actions/checkout@v2
20
+ with :
21
+ ref : " ${{ github.event.inputs.rev }}"
15
22
- name : Install latest Rust
16
23
uses : actions-rs/toolchain@v1
17
24
with :
26
33
runs-on : ubuntu-latest
27
34
steps :
28
35
- uses : actions/checkout@v2
36
+ with :
37
+ ref : " ${{ github.event.inputs.rev }}"
29
38
- name : Install latest Rust
30
39
uses : actions-rs/toolchain@v1
31
40
with :
40
49
runs-on : ubuntu-latest
41
50
steps :
42
51
- uses : actions/checkout@v1
52
+ with :
53
+ ref : " ${{ github.event.inputs.rev }}"
43
54
- name : Execute tarpaulin
44
55
run : ./tests/coverage.sh
You can’t perform that action at this time.
0 commit comments