From c28dfdc136054f1c043fc77f8316d3f5896c9fb3 Mon Sep 17 00:00:00 2001 From: oleiade Date: Fri, 6 Sep 2024 13:20:02 +0200 Subject: [PATCH] Switch to using the docker-compose GH action --- .github/workflows/all.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml index 2ebb49e..a528c7d 100644 --- a/.github/workflows/all.yml +++ b/.github/workflows/all.yml @@ -23,16 +23,19 @@ jobs: - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.x + go-version: 1.22.x - name: Install k6 run: go install go.k6.io/k6@latest - - name: Build the stack - run: docker-compose up -d + - name: Build the docker-compose stack + uses: hoverkraft-tech/compose-action@v2.0.1 + with: + up-flags: "-d" + down-flags: "-v" - name: Wait for the localstack scripts to have been applied run: sleep 30 - name: Test - run: npm run ci-test + run: npm run test:ci