File tree Expand file tree Collapse file tree 5 files changed +65
-39
lines changed Expand file tree Collapse file tree 5 files changed +65
-39
lines changed Original file line number Diff line number Diff line change 1- name : lint
1+ name : bitreq - lint
22
33on :
44 push :
55 branches : [ master ]
6+ paths :
7+ - ' bitreq/**'
8+ - ' .github/workflows/bitreq-lint.yml'
69 pull_request :
710 branches : [ master ]
11+ paths :
12+ - ' bitreq/**'
13+ - ' .github/workflows/bitreq-lint.yml'
814
915env :
1016 CARGO_TERM_COLOR : always
1117
18+ defaults :
19+ run :
20+ working-directory : bitreq
21+
1222jobs :
1323 lint :
1424 runs-on : ubuntu-latest
1525 steps :
16- - name : Checkout Crate
17- uses : actions/checkout@v3
26+ - name : Checkout repository
27+ uses : actions/checkout@v4
1828 - name : Set Toolchain
19- # https://github.com/dtolnay/rust-toolchain
2029 uses : dtolnay/rust-toolchain@stable
2130 - name : Run rustfmt
22- # rustfmt defaults to edition 2015 it seems.
2331 run : rustfmt --check --edition=2018 src/lib.rs
2432 - name : Run cargo doc
2533 run : cargo doc --features "punycode proxy https"
Original file line number Diff line number Diff line change 1+ name : bitreq - msrv
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ paths :
7+ - ' bitreq/**'
8+ - ' .github/workflows/bitreq-msrv.yml'
9+ pull_request :
10+ branches : [ master ]
11+ paths :
12+ - ' bitreq/**'
13+ - ' .github/workflows/bitreq-msrv.yml'
14+ schedule :
15+ - cron : " 47 5 * * 6"
16+
17+ env :
18+ CARGO_TERM_COLOR : always
19+
20+ defaults :
21+ run :
22+ working-directory : bitreq
23+
24+ jobs :
25+ test :
26+ runs-on : ubuntu-latest
27+ steps :
28+ - name : Checkout repository
29+ uses : actions/checkout@v4
30+ - name : Checkout Toolchain
31+ uses : dtolnay/rust-toolchain@1.63
32+ - name : Running tests
33+ run : cargo test
Original file line number Diff line number Diff line change 1- name : unit- tests
1+ name : bitreq - unit tests
22
33on :
44 push :
55 branches : [ master ]
6+ paths :
7+ - ' bitreq/**'
8+ - ' .github/workflows/bitreq-unit-tests.yml'
69 pull_request :
710 branches : [ master ]
11+ paths :
12+ - ' bitreq/**'
13+ - ' .github/workflows/bitreq-unit-tests.yml'
814
915env :
1016 CARGO_TERM_COLOR : always
1117
18+ defaults :
19+ run :
20+ working-directory : bitreq
21+
1222jobs :
1323 test-linux :
1424 runs-on : ubuntu-latest
1525 steps :
16- - name : Checkout Crate
17- uses : actions/checkout@v3
26+ - name : Checkout repository
27+ uses : actions/checkout@v4
1828 - name : Set Toolchain
19- # https://github.com/dtolnay/rust-toolchain
2029 uses : dtolnay/rust-toolchain@stable
2130 - name : Build
2231 run : cargo build
3039 test-windows :
3140 runs-on : windows-latest
3241 steps :
33- - name : Checkout Crate
34- uses : actions/checkout@v3
42+ - name : Checkout repository
43+ uses : actions/checkout@v4
3544 - name : Set Toolchain
3645 uses : dtolnay/rust-toolchain@stable
3746 - name : Build
4756 test-macos :
4857 runs-on : macos-latest
4958 steps :
50- - name : Checkout Crate
51- uses : actions/checkout@v3
59+ - name : Checkout repository
60+ uses : actions/checkout@v4
5261 - name : Set Toolchain
5362 uses : dtolnay/rust-toolchain@stable
5463 - name : Build
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# bitreq - forked from minreq
22[ ![ Crates.io] ( https://img.shields.io/crates/d/bitreq.svg )] ( https://crates.io/crates/bitreq )
33[ ![ Documentation] ( https://docs.rs/bitreq/badge.svg )] ( https://docs.rs/bitreq )
4- ![ Unit tests] ( https://github.com/tcharding/bitreq /actions/workflows/unit-tests.yml/badge.svg )
5- ![ MSRV] ( https://github.com/tcharding/bitreq /actions/workflows/msrv.yml/badge.svg )
4+ ![ Unit tests] ( https://github.com/rust-bitcoin/corepc /actions/workflows/bitreq- unit-tests.yml/badge.svg )
5+ ![ MSRV] ( https://github.com/rust-bitcoin/corepc /actions/workflows/bitreq- msrv.yml/badge.svg )
66
77This crate is a fork for the very nice
88[ minreq] ( https://github.com/neonmoe/minreq ) . I chose to fork and
You can’t perform that action at this time.
0 commit comments