mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 07:14:01 +00:00
test(ci): enforce TOML formatting with taplo
0.9.3
This commit is contained in:
parent
d22aa2eb55
commit
6bd2e0b9cb
1
.github/pull_request_template.md
vendored
1
.github/pull_request_template.md
vendored
@ -17,6 +17,7 @@ person(s) who reviewed your changes. This will make sure it gets re-added to the
|
||||
**Checklist**
|
||||
|
||||
- [ ] Run `cargo fmt`.
|
||||
- [ ] Run `taplo format`.
|
||||
- [ ] Run `cargo clippy`. If applicable, add:
|
||||
- [ ] `--target wasm32-unknown-unknown`
|
||||
- [ ] `--target wasm32-unknown-emscripten`
|
||||
|
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -620,6 +620,14 @@ jobs:
|
||||
cargo fmt --manifest-path xtask/Cargo.toml -- --check
|
||||
cargo fmt --manifest-path naga/xtask/Cargo.toml -- --check
|
||||
|
||||
- name: Install Taplo
|
||||
uses: uncenter/setup-taplo@v1
|
||||
with:
|
||||
version: "0.9.3"
|
||||
|
||||
- name: run `taplo fmt`
|
||||
run: taplo format --check --diff
|
||||
|
||||
- name: Check for typos
|
||||
uses: crate-ci/typos@v1.24.6
|
||||
|
||||
|
2
taplo.toml
Normal file
2
taplo.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[formatting]
|
||||
indent_string = " "
|
Loading…
Reference in New Issue
Block a user