Skip to content

Add support for connection and subscription headers #36

Add support for connection and subscription headers

Add support for connection and subscription headers #36

Workflow file for this run

name: pr
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.rustup
/usr/local/cargo
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust
run: rustup update stable
- name: Run rustfmt
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all -- -D warnings
- uses: taiki-e/install-action@nextest
- name: Cargo Test
run: cargo nextest run
- name: merge
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
run: |
gh pr merge --merge $GITHUB_HEAD_REF
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}