Skip to content

chore(deps): bump github.com/nats-io/nats.go from 1.33.0 to 1.34.1 (#26) #70

chore(deps): bump github.com/nats-io/nats.go from 1.33.0 to 1.34.1 (#26)

chore(deps): bump github.com/nats-io/nats.go from 1.33.0 to 1.34.1 (#26) #70

Workflow file for this run

#
# Generated by @zondax/cli
#
name: Tests
on:
push:
branches: [main, master, dev]
pull_request:
branches: [main, master, dev]
jobs:
tests:
runs-on: zondax-runners
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.20"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y git build-essential wget curl
sudo apt-get install -y gettext-base
sudo curl -L "https://github.com/docker/compose/releases/download/v2.6.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
- name: Build
run: |
make build
- name: Nats server
run: |
docker-compose up -d nats
sleep 10
- name: Check nats ports
run: |
sudo apt-get install -y net-tools
netstat -nap | grep 4222 || echo "Nothing on 4222"
- name: List Docker containers
run: docker ps
- name: Unit tests
run: make test