From b5de6060add34053ddec798c15c0a960b98ed8b0 Mon Sep 17 00:00:00 2001 From: romanchechyotkin Date: Wed, 4 Sep 2024 09:43:16 +0300 Subject: [PATCH] test docker --- .github/workflows/testing.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 9c9f43e..6869631 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -11,11 +11,6 @@ permissions: read-all jobs: unit-test: - services: - nats: - image: nats:latest - ports: - - 4222:4222 permissions: attestations: write @@ -35,7 +30,16 @@ jobs: runs-on: ${{ matrix.os }} + services: + nats: + if: runner.os == 'ubuntu-latest' + image: nats:latest + ports: + - 4222:4222 + steps: + - name: start + - name: Checkout tree uses: actions/checkout@v4