1.0.9 release, Fixed Tokio import #46
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: Build tests | |
on: | |
push: | |
branches: '**' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
format: | |
runs-on: | |
- ubuntu-latest | |
if: github.event_name == 'push' | |
name: Check format | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Run Format | |
run: cargo fmt --all -- --check | |
clippy: | |
runs-on: | |
- ubuntu-latest | |
if: github.event_name == 'push' | |
name: Run clippy | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Run Clippy | |
run: cargo clippy -- -Dwarnings | |
# tarpaulin: | |
# name: Run tarpaulin | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Build | |
# run: cargo build --verbose | |
# - name: Install toolchain | |
# uses: actions-rs/toolchain@v1 | |
# with: | |
# toolchain: stable | |
# override: true | |
# - name: Run tarpaulin | |
# uses: actions-rs/tarpaulin@v0.1 | |
# with: | |
# version: '0.15.0' | |
# args: '-- --test-threads 1' |