Skip to content

Commit 69b25cb

Browse files
committed
Update GH Actions workflows
- Use the --bin parameter to support multiple bins in the future - Run the architecture check on all architectures
1 parent 4ea82ea commit 69b25cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Check
2727
run: cargo check
2828
- name: Architecture check
29-
run: cargo run arch-check
29+
run: cargo run --bin arch-check
3030
- if: ${{ matrix.rust-toolchain != 'nightly' }}
3131
name: Format
3232
run: cargo fmt -- --check
@@ -56,6 +56,8 @@ jobs:
5656
run: cargo install cross --locked --version 0.2.5
5757
- name: Check
5858
run: cross check --target ${{ matrix.target }}
59+
- name: Architecture check
60+
run: cross run --bin arch-check --target ${{ matrix.target }}
5961
- name: Test
6062
run: cross test --target ${{ matrix.target }}
6163

@@ -79,5 +81,7 @@ jobs:
7981
run: cargo install cross --locked --version 0.2.5
8082
- name: Check
8183
run: cross check --target ${{ matrix.target }}
84+
- name: Architecture check
85+
run: cross run --bin arch-check --target ${{ matrix.target }}
8286
- name: Test
8387
run: cross test --target ${{ matrix.target }}

0 commit comments

Comments
 (0)