We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c133168 commit 80d973fCopy full SHA for 80d973f
.github/workflows/build-and-test.yml
@@ -1,23 +1,17 @@
1
on: [push]
2
3
name: CI
4
-
+env:
5
+ CARGO_TERM_COLOR: always
6
jobs:
7
build_and_test:
8
name: Rust project
9
runs-on: ubuntu-latest
10
steps:
11
- uses: actions/checkout@v3
- - uses: Swatinem/rust-cache@v2
12
- - uses: actions-rs/toolchain@v1
13
- with:
14
- toolchain: stable
15
- - uses: actions-rs/cargo@v1
16
- name: Cargo test
17
18
- command: test
19
20
- name: Cargo build
21
22
- command: build
23
- args: --release --all-features
+ - name: Setup Rust toolchain with caching
+ uses: brndnmtthws/rust-action@v1
+ - run: cargo build
+ - run: cargo test
+ env:
+ RUST_BACKTRACE: 1
0 commit comments