Skip to content

Bumped nats and nkeys to fix update bug #288

Bumped nats and nkeys to fix update bug

Bumped nats and nkeys to fix update bug #288

Workflow file for this run

name: Test Wadm
on:
pull_request:
branches:
- main
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
nats_version: [2.9.15]
steps:
- uses: actions/checkout@v2
- name: Install latest Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
components: clippy, rustfmt
# Cache: rust
- uses: Swatinem/rust-cache@v2
with:
key: "${{ matrix.os }}-rust-cache"
- name: Install wash
uses: wasmCloud/common-actions/install-wash@main
# GH Actions doesn't currently support passing args to service containers and there is no way
# to use an environment variable to turn on jetstream for nats, so we manually start it here
- name: Start NATS
run: docker run --rm -d --name wadm-test -p 127.0.0.1:4222:4222 nats:${{ matrix.nats_version }} -js
# Run all tests
- name: Run tests
run: |
cargo test -- --nocapture