Add links to leapfrog and flurry as concurrent hash tables examples (… #603
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
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
name: CI | |
env: | |
RUSTFLAGS: -Dwarnings | |
RUST_BACKTRACE: 1 | |
jobs: | |
doc-test: | |
name: Test code blocks in markdown | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
run: rustup update stable | |
- name: Build dependencies | |
run: RUSTFLAGS="--cfg tokio_unstable" cargo build | |
working-directory: doc-test | |
continue-on-error: true | |
- name: Actually run the tests | |
run: RUSTFLAGS="--cfg tokio_unstable" cargo test | |
working-directory: doc-test | |
tutorial-code: | |
name: Test tutorial-code directory | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
run: rustup update stable | |
- name: Build dependencies | |
run: cargo build --all | |
working-directory: tutorial-code | |
continue-on-error: true | |
- name: Actually run the tests | |
run: cargo test --all | |
working-directory: tutorial-code | |
fmt-check: | |
name: Verify project code style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: Install node dependencies | |
run: npm install | |
- name: Check formatting | |
run: npm run fmt:check |