Skip to content

Commit b2d962c

Browse files
committed
CI: Add a job that runs verify
Add a job that runs `verify --all` to CI.
1 parent 4b20b3e commit b2d962c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Run from `rust.yml` unless stated otherwise. Total 11 jobs.
2222
8. `Docs`
2323
9. `Docsrs`
2424
10. `Format`
25+
11. `Verify`
2526

2627
+15 jobs - 1 for each supported version of Core.
2728

.github/workflows/rust.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,20 @@ jobs:
188188
- name: "Check formatting"
189189
run: cargo fmt --all -- --check
190190

191+
Verify: # 1 job, run `verify` directly.
192+
name: Verify - stable toolchain
193+
runs-on: ubuntu-latest
194+
strategy:
195+
fail-fast: false
196+
steps:
197+
- name: "Checkout repo"
198+
uses: actions/checkout@v4
199+
- name: "Select toolchain"
200+
uses: dtolnay/rust-toolchain@stable
201+
- name: "Run the verify program"
202+
# Verify all versions (known to the verify program)
203+
run: cd verify && cargo run all
204+
191205
Integration: # 1 job for each bitcoind version we support.
192206
name: Integration tests - stable toolchain
193207
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)