Skip to content

Update async-nats requirement from 0.35.1 to 0.38.0 #21

Update async-nats requirement from 0.35.1 to 0.38.0

Update async-nats requirement from 0.35.1 to 0.38.0 #21

Workflow file for this run

name: Rust Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- uses: actions/checkout@v4
- name: Check formatting
run: cargo fmt --check
- name: Lint
run: cargo clippy --all-targets --all-features
build:
runs-on: ubuntu-latest
services:
natts:
image: nats:alpine
ports:
- "4222:4222"
steps:
- uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --all-features
- name: Run tests
run: cargo test --verbose --all-features