Skip to content

Fix layer numbers & errors from it; Fix workflows #424

Fix layer numbers & errors from it; Fix workflows

Fix layer numbers & errors from it; Fix workflows #424

Workflow file for this run

name: check
on:
pull_request:
push:
branches:
- main
jobs:
Check:
runs-on: ubuntu-latest
strategy:
matrix:
rt: ['tokio', 'async-std']
x: ['websocket', '']
toolchain: ['stable', 'nightly']
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
- name: Check ohkami's buildability
run: cargo check --features rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG
- name: Check ohkami's buildability without default features except fot `utils`
run: cargo check --no-default-features --features utils,rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG
- name: Check ohkami's buildability without default features except fot `testing`
run: cargo check --no-default-features --features testing,rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG
- name: Check ohkami's buildability without default features
run: cargo check --no-default-features --features rt_${{ matrix.rt }}${{ matrix.x == '' && '' || ',' }}${{ matrix.x }}${{ matrix.toolchain == 'nightly' && ',nightly' || '' }},DEBUG
- name: Check examples' buildablity
working-directory: examples
run: cargo check