forked from iotaledger/identity.rs
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 896 Bytes
/
format.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Format
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
paths-ignore:
- 'docs/**'
jobs:
format:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project:
[
identity,
identity-core,
identity-credential,
identity-did,
identity-diff,
identity-iota,
bindings/wasm,
]
steps:
- uses: actions/checkout@v2
- name: Install rustfmt with nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path=${{ matrix.project }}/Cargo.toml --all -- --check