testudo/.github/workflows/testudo.yml
.github/workflows/testudo.ymlRaw
1name: Build and Test Testudo
2
3on: [push, pull_request]
4
5jobs:
6 cargo-test:
7 runs-on: ubuntu-latest
8 steps:
9 - name: Checkout sources
10 uses: actions/checkout@v2
11 with:
12 submodules: recursive
13
14 - name: Install toolchain
15 uses: actions-rs/toolchain@v1
16 with:
17 toolchain: stable
18 profile: minimal
19 override: true
20
21 - uses: Swatinem/rust-cache@v2
22 with:
23 shared-key: cache-${{ hashFiles('**/Cargo.lock') }}
24 cache-on-failure: true
25
26 - name: cargo test
27 run: RUST_LOG=info cargo test --all --all-features -- --nocapture