Skip to content

Commit b6f95d9

Browse files
committed
Add GitHub workflow: Rust formatting.
1 parent 22899cf commit b6f95d9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/format.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on: [push, pull_request]
2+
name: Formatting
3+
jobs:
4+
check:
5+
runs-on: ubuntu-latest
6+
env:
7+
CARGO_UNSTABLE_SPARSE_REGISTRY: true
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: dtolnay/rust-toolchain@nightly
11+
with:
12+
components: rustfmt
13+
- name: Check Rust formatting
14+
run: cargo fmt --verbose --manifest-path src/android-simd/Cargo.toml -- --check

0 commit comments

Comments
 (0)