Skip to content

chore(deps): update tokio-tungstenite requirement from 0.21.0 to 0.23.1 #185

chore(deps): update tokio-tungstenite requirement from 0.21.0 to 0.23.1

chore(deps): update tokio-tungstenite requirement from 0.21.0 to 0.23.1 #185

Workflow file for this run

name: ci
on:
pull_request:
branches:
- main
env:
RUST_BACKTRACE: 1
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
- uses: dtolnay/rust-toolchain@stable
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest
needs: [pre-commit]
strategy:
matrix:
channel: [stable, nightly]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.channel }}
- uses: Swatinem/rust-cache@v2
- name: Run cargo test
run: cargo test --all --all-targets --all-features
- name: Run cargo doc
run: cargo doc --no-deps
msrv:
runs-on: ubuntu-latest
needs: [pre-commit]
steps:
- uses: actions/checkout@v4
- name: Get MSRV from package metadata
id: msrv
run: grep rust-version Cargo.toml | cut -d'"' -f2 | sed 's/^/version=/' >> $GITHUB_OUTPUT
- name: Install rust (${{ steps.msrv.outputs.version }})
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ steps.msrv.outputs.version }}
- uses: Swatinem/rust-cache@v2
- name: Run cargo check
run: cargo check --all-targets --all-features
semver:
runs-on: ubuntu-latest
needs: [pre-commit]
steps:
- uses: actions/checkout@v4
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
feature-group: all-features
release-type: minor