Remove yield_now #513
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 | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check CPU | |
run: lscpu | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
- name: Install grpcurl | |
run: go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run tests | |
run: cargo test -- --test-threads=1 | |
test_docsrs: | |
name: Test (docs.rs) | |
runs-on: ubuntu-latest | |
env: | |
RUSTDOCFLAGS: -Dwarnings | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@nightly | |
- uses: dtolnay/install@cargo-docs-rs | |
- run: cargo docs-rs -p sorock |