Skip to content

Support websocket

Support websocket #373

Workflow file for this run

name: check
on:
pull_request:
push:
branches:
- main
jobs:
test:
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
- uses: actions-rs/cargo@v1
with:
command: check
args: --features rt_${{ matrix.rt }}${{ matrix.x }}${{ matrix.toolchain == "nightly" && ",nightly" || "" }},DEBUG

Check failure on line 30 in .github/workflows/check.yml

View workflow run for this annotation

GitHub Actions / check

Invalid workflow file

The workflow is not valid. .github/workflows/check.yml (Line: 30, Col: 17): Unexpected symbol: '"nightly"'. Located at position 21 within expression: matrix.toolchain == "nightly" && ",nightly" || ""