File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on : [push, pull_request]
3+
4+ env :
5+ RUSTFLAGS : -D warnings
6+ RUST_BACKTRACE : 1
7+ CARGO_TERM_COLOR : always
8+
9+ jobs :
10+ unit-test :
11+ strategy :
12+ matrix :
13+ os : [ubuntu-latest, macos-latest, windows-latest]
14+ runs-on : ${{ matrix.os }}
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : dtolnay/rust-toolchain@stable
18+ - run : cargo test
19+ rustfmt :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v4
23+ - uses : dtolnay/rust-toolchain@nightly
24+ with :
25+ components : rustfmt
26+ - run : cargo fmt -- --check
Original file line number Diff line number Diff line change 11# encoding_rs
22
3+ [ ![ Build Status] ( https://github.com/hsivonen/encoding_rs/actions/workflows/ci.yml/badge.svg )] ( https://github.com/hsivonen/encoding_rs/actions/workflows/ci.yml )
34[ ![ crates.io] ( https://img.shields.io/crates/v/encoding_rs.svg )] ( https://crates.io/crates/encoding_rs )
45[ ![ docs.rs] ( https://docs.rs/encoding_rs/badge.svg )] ( https://docs.rs/encoding_rs/ )
56
You can’t perform that action at this time.
0 commit comments