1717
1818jobs :
1919 checks :
20+ if : " !startsWith(github.event.pull_request.title, 'Automated version bump')"
2021 name : Rustfmt & Clippy
2122 runs-on : ubuntu-latest
2223 steps :
4849 run : ./scripts/clippy
4950
5051 check_pr_size :
52+ if : " !startsWith(github.event.pull_request.title, 'Automated version bump')"
5153 name : Check PR size doesn't break set limit
5254 runs-on : ubuntu-latest
5355 steps :
5961 max_lines_changed : 200
6062
6163 geiger :
62- if : ${{ github.repository_owner == 'maidsafe' }}
64+ if : " !startsWith( github.event.pull_request.title, 'Automated version bump') "
6365 name : Cargo geiger
6466 runs-on : ubuntu-latest
6567 steps :
8991 run : cargo geiger --all-features --all-targets --all-dependencies
9092
9193 coverage :
94+ if : " !startsWith(github.event.pull_request.title, 'Automated version bump')"
9295 name : Code coverage check
9396 runs-on : ubuntu-latest
9497 steps :
@@ -128,24 +131,25 @@ jobs:
128131 parallel-finished : true
129132
130133 cargo-udeps :
134+ if : " !startsWith(github.event.pull_request.title, 'Automated version bump')"
131135 name : Unused dependency check
132136 runs-on : ubuntu-latest
133137 steps :
134138 - uses : actions/checkout@v2
135139 # Install Rust and required components
136140 - uses : actions-rs/toolchain@v1
137141 with :
138- profile : minimal
139142 toolchain : nightly
140143 override : true
141144
142- # Install and run cargo udeps to find unused cargo dependencies
143- - name : cargo-udeps unused dependency check
144- run : |
145- cargo install cargo-udeps --locked
146- cargo +nightly udeps --all-targets
145+ - name : Run cargo- udeps
146+ uses : aig787/ cargo-udeps-action@v1
147+ with :
148+ version : ' latest '
149+ args : ' --all-targets'
147150
148151 cargo-deny :
152+ if : " !startsWith(github.event.pull_request.title, 'Automated version bump')"
149153 runs-on : ubuntu-latest
150154 steps :
151155 - uses : actions/checkout@v2
@@ -157,6 +161,7 @@ jobs:
157161 - uses : EmbarkStudios/cargo-deny-action@v1
158162
159163 test :
164+ if : " !startsWith(github.event.pull_request.title, 'Automated version bump')"
160165 name : Test
161166 runs-on : ${{ matrix.os }}
162167 strategy :
@@ -187,6 +192,7 @@ jobs:
187192
188193 # Test publish using --dry-run.
189194 test-publish :
195+ if : " !startsWith(github.event.pull_request.title, 'Automated version bump')"
190196 name : Test Publish
191197 runs-on : ubuntu-latest
192198 steps :
0 commit comments