Skip to content

Commit

Permalink
build: add build step before test
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiapple852 committed Oct 21, 2023
1 parent 5556f8c commit ca8e26f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
run: |
echo "cargo command is: ${{ env.CARGO }}"
echo "target flag is: ${{ env.TARGET_FLAGS }}"
echo "target dir is: ${{ env.TARGET_DIR }}"
- name: cargo build
run: ${{ env.CARGO }} build --verbose ${{ env.TARGET_FLAGS }}

- name: cargo test
run: ${{ env.CARGO }} test --verbose ${{ env.TARGET_FLAGS }}
Expand Down

0 comments on commit ca8e26f

Please sign in to comment.