From 813343dbe5fdbdebb71fd6d98021f43b5a00373f Mon Sep 17 00:00:00 2001 From: Dave Lucia Date: Thu, 9 Jan 2025 00:08:46 -0500 Subject: [PATCH] Test on Elixir 1.18 and NATS 2.10.24 (#188) --- .github/workflows/CI.yml | 8 ++++++-- README.md | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 68f910d..909d317 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -22,11 +22,15 @@ jobs: - otp: "26" elixir: "1.16" - nats: "2.10.14" + nats: "2.10.24" - otp: "27" elixir: "1.17" - nats: "2.10.14" + nats: "2.10.24" + + - otp: "27" + elixir: "1.18" + nats: "2.10.24" - otp: "27" elixir: "main" diff --git a/README.md b/README.md index d97c0b1..821c6f5 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ As of this commit my 2018 MacBook pro shows. Before running the tests make sure you have a locally running copy of `nats-server` ([installation instructions](https://docs.nats.io/running-a-nats-service/introduction/installation)). By default, tests are run with no authentication. Make sure your NATS configuration contains no users, or has an account with [no_auth_user](https://docs.nats.io/running-a-nats-service/configuration/securing_nats/accounts#no-auth-user) explicitly enabled. -We currently use version `2.6.6` in CI, but anything higher than `2.2.0` should be fine. +We currently use version `2.10.24` in CI, but anything higher than `2.2.0` should be fine. Versions from `0.9.6` up to `2.2.0` should work fine for everything except header support. Make sure to enable jetstream with the `nats-server -js` argument and you might also want to enable debug and verbose logging if you're trying to understand the messages being sent to/from nats (ie `nats-server -js -D -V`). The typical `mix test` will run all the basic unit tests.