Skip to content

Commit 1e58034

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

File tree

4 files changed

+144
-2
lines changed

4 files changed

+144
-2
lines changed

.github/workflows/bitreq-lint.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: bitreq - lint
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'bitreq/**'
8+
- '.github/workflows/bitreq-lint.yml'
9+
pull_request:
10+
branches: [ master ]
11+
paths:
12+
- 'bitreq/**'
13+
- '.github/workflows/bitreq-lint.yml'
14+
15+
env:
16+
CARGO_TERM_COLOR: always
17+
18+
defaults:
19+
run:
20+
working-directory: bitreq
21+
22+
jobs:
23+
lint:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
- name: Set Toolchain
29+
uses: dtolnay/rust-toolchain@stable
30+
- name: Run rustfmt
31+
run: rustfmt --check --edition=2018 src/lib.rs
32+
- name: Run cargo doc
33+
run: cargo doc --features "punycode proxy https"
34+
- name: Run clippy
35+
run: |
36+
cargo clippy --all-targets --features "punycode proxy https-rustls" -- --no-deps -D warnings
37+
cargo clippy --all-targets --features "punycode proxy https-rustls-probe" -- --no-deps -D warnings

.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
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: bitreq - unit tests
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'bitreq/**'
8+
- '.github/workflows/bitreq-unit-tests.yml'
9+
pull_request:
10+
branches: [ master ]
11+
paths:
12+
- 'bitreq/**'
13+
- '.github/workflows/bitreq-unit-tests.yml'
14+
15+
env:
16+
CARGO_TERM_COLOR: always
17+
18+
defaults:
19+
run:
20+
working-directory: bitreq
21+
22+
jobs:
23+
test-linux:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
- name: Set Toolchain
29+
uses: dtolnay/rust-toolchain@stable
30+
- name: Build
31+
run: cargo build
32+
- name: Test
33+
run: |
34+
cargo test
35+
cargo test --features punycode
36+
cargo test --features proxy
37+
cargo test --features urlencoding
38+
cargo test --features https
39+
test-windows:
40+
runs-on: windows-latest
41+
steps:
42+
- name: Checkout repository
43+
uses: actions/checkout@v4
44+
- name: Set Toolchain
45+
uses: dtolnay/rust-toolchain@stable
46+
- name: Build
47+
run: cargo build
48+
- name: Test
49+
run: |
50+
cargo test
51+
cargo test --features punycode
52+
cargo test --features proxy
53+
cargo test --features urlencoding
54+
cargo test --features https
55+
cargo test --features "punycode proxy urlencoding https"
56+
test-macos:
57+
runs-on: macos-latest
58+
steps:
59+
- name: Checkout repository
60+
uses: actions/checkout@v4
61+
- name: Set Toolchain
62+
uses: dtolnay/rust-toolchain@stable
63+
- name: Build
64+
run: cargo build
65+
- name: Test
66+
run: |
67+
cargo test
68+
cargo test --features punycode
69+
cargo test --features proxy
70+
cargo test --features urlencoding
71+
cargo test --features https
72+
cargo test --features "punycode proxy urlencoding https"

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/jamillambert/corepc/actions/workflows/bitreq-unit-tests.yml/badge.svg)
5+
![MSRV](https://github.com/jamillambert/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)