mirror of
https://github.com/chronotope/chrono.git
synced 2025-09-26 20:40:51 +00:00
Format toml with taplo (#1117)
This commit is contained in:
parent
26e4f24df5
commit
b6cc4dbe63
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@ -27,6 +27,14 @@ jobs:
|
||||
env:
|
||||
RUSTFLAGS: "-Dwarnings"
|
||||
|
||||
toml:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: tamasfe/taplo:0.8.0
|
||||
steps:
|
||||
- run: taplo lint
|
||||
- run: taplo fmt --check --diff
|
||||
|
||||
cargo-deny:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -35,7 +35,7 @@ rustc-serialize = { version = "0.3.20", optional = true }
|
||||
serde = { version = "1.0.99", default-features = false, optional = true }
|
||||
pure-rust-locales = { version = "0.5.2", optional = true }
|
||||
criterion = { version = "0.4.0", optional = true }
|
||||
rkyv = {version = "0.7", optional = true}
|
||||
rkyv = { version = "0.7", optional = true }
|
||||
arbitrary = { version = "1.0.0", features = ["derive"], optional = true }
|
||||
|
||||
[target.'cfg(all(target_arch = "wasm32", not(any(target_os = "emscripten", target_os = "wasi"))))'.dependencies]
|
||||
|
4
taplo.toml
Normal file
4
taplo.toml
Normal file
@ -0,0 +1,4 @@
|
||||
include = ["deny.toml", "**/Cargo.toml"]
|
||||
|
||||
[formatting]
|
||||
inline_table_expand = false
|
Loading…
x
Reference in New Issue
Block a user