From c9a9f49d8af9c1f6bac49dcd19dde55998d5b62a Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 13 Oct 2024 22:13:31 +0300 Subject: [PATCH] Refactoring --- .env.dist | 1 - .github/workflows/audit.yaml | 1 - .github/workflows/test.yaml | 7 +++---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.env.dist b/.env.dist index 8acc2f6..b90d5c1 100644 --- a/.env.dist +++ b/.env.dist @@ -1,4 +1,3 @@ -ENV=dev BOT_TOKEN= ROUTER_ADDRESS= ROUTER_USER_NAME= diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index 1ab6de0..bf04534 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -27,7 +27,6 @@ jobs: - name: Add config run: | touch ./.env - echo ENV="dev" >> .env - name: Verify dependencies run: go mod verify diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c19225b..4650471 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,13 +27,12 @@ jobs: - name: Add config run: | touch ./.env - echo ENV="dev" >> .env - name: Build containers - run: docker compose -f docker-compose.yml -f docker-compose.dev.yml build + run: docker compose -f docker-compose.yml -f docker-compose.yml build - name: Start containers - run: docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d + run: docker compose -f docker-compose.yml -f docker-compose.yml up -d #- name: Health check #run: | @@ -41,4 +40,4 @@ jobs: - name: Stop containers if: always() - run: docker compose -f docker-compose.yml -f docker-compose.dev.yml down \ No newline at end of file + run: docker compose -f docker-compose.yml -f docker-compose.yml down \ No newline at end of file