Same change required for tau-cli and taud. #7
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: CI Checks | |
on: [push, pull_request] | |
jobs: | |
test-units: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
target: wasm32-unknown-unknown | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install dependencies (Linux) | |
run: | | |
sh contrib/dependency_setup.sh | |
if: matrix.os == 'ubuntu-latest' | |
- name: Run test units | |
run: | | |
make test | |
- name: Compile all bins | |
run: | | |
make | |
feature-powerset: | |
name: Test crate feature powerset on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
target: wasm32-unknown-unknown | |
override: true | |
- uses: taiki-e/install-action@cargo-hack | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install dependencies (Linux) | |
run: | | |
sh contrib/dependency_setup.sh | |
if: matrix.os == 'ubuntu-latest' | |
- name: Run feature powerset builds | |
run: | | |
make check | |
fmt: | |
name: rustfmt | |
timeout-minutes: 30 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
components: rustfmt | |
override: true | |
- run: | | |
cargo fmt -- --check |