Skip to content

Commit feb7cd0

Browse files
authored
Merge pull request #748 from nats-io/1_29_2
[BUMP] ci server version, client version
2 parents ef33ed0 + 65c2034 commit feb7cd0

File tree

3 files changed

+8
-16
lines changed

3 files changed

+8
-16
lines changed

.github/workflows/test.yml

+6-14
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,12 @@ jobs:
2929
with:
3030
deno-version: ${{ matrix.deno-version }}
3131

32-
- name: Set NATS Server Version
33-
run: echo "NATS_VERSION=v2.10.24" >> $GITHUB_ENV
34-
35-
# this here because dns seems to be wedged on gha
36-
# - name: Add hosts to /etc/hosts
37-
# run: |
38-
# sudo echo "145.40.102.131 demo.nats.io" | sudo tee -a /etc/hosts
39-
40-
- name: Get nats-server
41-
run: |
42-
wget "https://github.com/nats-io/nats-server/releases/download/$NATS_VERSION/nats-server-$NATS_VERSION-linux-amd64.zip" -O tmp.zip
43-
unzip tmp.zip
44-
mv nats-server-$NATS_VERSION-linux-amd64 nats-server
45-
rm nats-server/README.md LICENSE
32+
- name: Install nats-server
33+
uses: aricart/[email protected]
34+
with:
35+
repo: nats-io/nats-server
36+
name: nats-server
37+
cache: true
4638

4739
- name: Lint Deno Module
4840
run: deno fmt --check --ignore=docs/

src/deno_transport.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
Transport,
3535
} from "../nats-base-client/internal_mod.ts";
3636

37-
const VERSION = "1.29.1";
37+
const VERSION = "1.29.2";
3838
const LANG = "nats.deno";
3939

4040
const ReadBufferSize = 1024 * 256;

tests/helpers/launcher.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ export class NatsServer implements PortInfo {
662662
}
663663

664664
static async start(conf?: any, debug = false): Promise<NatsServer> {
665-
const exe = Deno.env.get("CI") ? "nats-server/nats-server" : "nats-server";
665+
const exe = "nats-server";
666666
const tmp = path.resolve(Deno.env.get("TMPDIR") || ".");
667667
conf = NatsServer.confDefaults(conf);
668668
conf.ports_file_dir = tmp;

0 commit comments

Comments
 (0)