Skip to content

Commit 2936211

Browse files
committed
Update README.md badge links
1 parent e022b7c commit 2936211

File tree

5 files changed

+65
-39
lines changed

5 files changed

+65
-39
lines changed

bitreq/.github/workflows/lint.yml renamed to .github/workflows/bitreq-lint.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
1-
name: lint
1+
name: bitreq - lint
22

33
on:
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

915
env:
1016
CARGO_TERM_COLOR: always
1117

18+
defaults:
19+
run:
20+
working-directory: bitreq
21+
1222
jobs:
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"

.github/workflows/bitreq-msrv.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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

bitreq/.github/workflows/unit-tests.yml renamed to .github/workflows/bitreq-unit-tests.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
1-
name: unit-tests
1+
name: bitreq - unit tests
22

33
on:
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

915
env:
1016
CARGO_TERM_COLOR: always
1117

18+
defaults:
19+
run:
20+
working-directory: bitreq
21+
1222
jobs:
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
@@ -30,8 +39,8 @@ jobs:
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
@@ -47,8 +56,8 @@ jobs:
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

bitreq/.github/workflows/msrv.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

bitreq/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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

77
This crate is a fork for the very nice
88
[minreq](https://github.com/neonmoe/minreq). I chose to fork and

0 commit comments

Comments
 (0)