Skip to content

Commit ddcc302

Browse files
committed
Simplify cargo fmt run, run all tests
Signed-off-by: Marcela Melara <[email protected]>
1 parent 72cc812 commit ddcc302

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
- name: Format
17-
run: if [ "$(cargo fmt --check | wc -l)" -gt 0 ]; then exit 1; fi
17+
run: |
18+
cargo fmt --check
1819
- name: Build
1920
run: |
2021
cargo build --profile release
2122
- name: Run all tests
2223
run: |
23-
cargo test --tests --all-features --profile release
24+
cargo test --all-features --profile release

0 commit comments

Comments
 (0)