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 11name : Continuous Integration
22
3- on : [push, pull_request]
3+ on : [push, pull_request, workflow_dispatch ]
44
55jobs :
66 build :
Original file line number Diff line number Diff line change 55 # Every night at midnight
66 - cron : " 0 0 * * *"
77 workflow_dispatch :
8+ inputs :
9+ rev :
10+ description : " Revision hash to run against"
11+ required : false
12+ default : " "
813
914jobs :
1015 dependencies :
1116 name : Check for unused dependencies
1217 runs-on : ubuntu-latest
1318 steps :
1419 - uses : actions/checkout@v2
20+ with :
21+ ref : " ${{ github.event.inputs.rev }}"
1522 - name : Install latest Rust
1623 uses : actions-rs/toolchain@v1
1724 with :
2633 runs-on : ubuntu-latest
2734 steps :
2835 - uses : actions/checkout@v2
36+ with :
37+ ref : " ${{ github.event.inputs.rev }}"
2938 - name : Install latest Rust
3039 uses : actions-rs/toolchain@v1
3140 with :
4049 runs-on : ubuntu-latest
4150 steps :
4251 - uses : actions/checkout@v1
52+ with :
53+ ref : " ${{ github.event.inputs.rev }}"
4354 - name : Execute tarpaulin
4455 run : ./tests/coverage.sh
You can’t perform that action at this time.
0 commit comments