Merge branch 'master' of github.com:threefoldtech/rfs into developmen… #329
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit and Integration Test | |
on: push | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check_fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@nightly | |
with: | |
components: rustfmt | |
- uses: clechasseur/rs-fmt-check@v2 | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install capnproto | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v1 | |
- name: Unit Testing | |
run: cargo test --features build-binary | |
env: | |
RUST_MIN_STACK: 8388608 |