From c24c9380d60977180ee5bc19dd800b483b40a6e4 Mon Sep 17 00:00:00 2001 From: Miguel dos Reis Date: Wed, 13 Mar 2024 11:44:14 -0300 Subject: [PATCH] Try fix CI --- .github/workflows/unit-tests.yaml | 2 -- Dockerfile.ci-test | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 9a2542a..deb6a2c 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -42,8 +42,6 @@ jobs: restore-keys: | ${{ runner.os }}-build-${{ hashFiles('Gopkg.lock') }} ${{ runner.os }}-build- - - name: Install dependencies - run: docker run -v $PWD:/go/src/github.com/topfreegames/pusher tfgco/pusher:ci-test dep ensure - name: Build run: docker run -v $PWD:/go/src/github.com/topfreegames/pusher tfgco/pusher:ci-test go build -v -o bin/pusher main.go - name: Test diff --git a/Dockerfile.ci-test b/Dockerfile.ci-test index 4a76c97..b27ad01 100644 --- a/Dockerfile.ci-test +++ b/Dockerfile.ci-test @@ -27,7 +27,8 @@ RUN apt update \ && apt install -y wget \ && wget -qO - https://packages.confluent.io/deb/7.5/archive.key | apt-key add - \ && apt update \ - && apt install -y librdkafka-dev + && apt install -y librdkafka-dev \ + && apt install -y postgresql # golangci-lint ENV GOLANGCI_LINT_VERSION 1.15.0