Format toml with taplo (#1117)

This commit is contained in:
tottoto 2023-06-01 16:23:08 +09:00 committed by GitHub
parent 26e4f24df5
commit b6cc4dbe63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 8 deletions

View File

@ -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:

View File

@ -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
View File

@ -0,0 +1,4 @@
include = ["deny.toml", "**/Cargo.toml"]
[formatting]
inline_table_expand = false