|
33 | 33 | shell: bash
|
34 | 34 | run: rustup update stable --no-self-update && rustup default stable
|
35 | 35 |
|
36 |
| - # Install witx cli tool |
37 |
| - - run: cargo install --path cli |
38 |
| - working-directory: tools/witx |
39 |
| - |
40 |
| - - name: Check that docs reflect witx (Snapshot 1) |
41 |
| - run: witx docs --check ../../phases/snapshot/witx/wasi_snapshot_preview1.witx --output ../../phases/snapshot/docs.md |
42 |
| - working-directory: tools/witx |
43 |
| - - name: Check that docs reflect witx (Snapshot 0) |
44 |
| - run: witx docs --check ../../phases/old/snapshot_0/witx/wasi_unstable.witx --output ../../phases/old/snapshot_0/docs.md |
45 |
| - working-directory: tools/witx |
46 |
| - - name: Check that docs reflect witx (Ephemeral) |
47 |
| - run: > |
48 |
| - witx docs --check |
49 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_args.witx |
50 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_clock.witx |
51 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_environ.witx |
52 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_fd.witx |
53 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_path.witx |
54 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_poll.witx |
55 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_proc.witx |
56 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_random.witx |
57 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_sched.witx |
58 |
| - ../../phases/ephemeral/witx/wasi_ephemeral_sock.witx |
59 |
| - --output ../../phases/ephemeral/docs.md |
60 |
| - working-directory: tools/witx |
| 36 | + - name: Check that repository docs reflect witx |
| 37 | + run: ./tools/repo_docs.sh --check |
61 | 38 |
|
62 | 39 | rustfmt:
|
63 | 40 | name: Rustfmt
|
|
66 | 43 | - uses: actions/checkout@v1
|
67 | 44 | - name: Install Rust
|
68 | 45 | run: rustup update stable && rustup default stable && rustup component add rustfmt
|
69 |
| - - run: cargo fmt -- --check |
| 46 | + - run: cargo fmt --all -- --check |
70 | 47 | working-directory: tools/witx
|
0 commit comments