mirror of
https://github.com/chronotope/chrono.git
synced 2025-09-26 20:40:51 +00:00
Compare commits
2 Commits
f3fd15f976
...
113777a22f
Author | SHA1 | Date | |
---|---|---|---|
![]() |
113777a22f | ||
![]() |
0f016846f1 |
1
.github/workflows/lint.yml
vendored
1
.github/workflows/lint.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc
|
||||
components: clippy, rustfmt
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cargo fmt --check -- --color=always
|
||||
- run: cargo fmt --check --manifest-path fuzz/Cargo.toml
|
||||
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -19,6 +19,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cargo test ${{ env.ALL_NON_EXCLUSIVE_FEATURES }} --color=always -- --color=always
|
||||
|
||||
@ -52,6 +54,7 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.rust_version }}
|
||||
components: rustfmt
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: cargo check --manifest-path bench/Cargo.toml --benches
|
||||
- run: cargo check --manifest-path fuzz/Cargo.toml --all-targets
|
||||
@ -68,6 +71,8 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: rustfmt
|
||||
- uses: taiki-e/install-action@cargo-hack
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- run: |
|
||||
@ -130,6 +135,7 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: wasm32-unknown-unknown
|
||||
components: rustfmt
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- uses: actions/setup-node@v5
|
||||
- uses: jetli/wasm-pack-action@v0.4.0
|
||||
|
@ -53,7 +53,7 @@ js-sys = { version = "0.3", optional = true } # contains FFI bindings for
|
||||
windows-link = { version = "0.2", optional = true }
|
||||
|
||||
[target.'cfg(windows)'.dev-dependencies]
|
||||
windows-bindgen = { version = "0.63" } # MSRV is 1.74
|
||||
windows-bindgen = { version = "0.64" } # MSRV is 1.74
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
iana-time-zone = { version = "0.1.45", optional = true, features = ["fallback"] }
|
||||
|
Loading…
x
Reference in New Issue
Block a user