Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
robertobadjio committed Oct 13, 2024
1 parent 1d88fbb commit c9a9f49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion .env.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ENV=dev
BOT_TOKEN=
ROUTER_ADDRESS=
ROUTER_USER_NAME=
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
- name: Add config
run: |
touch ./.env
echo ENV="dev" >> .env
- name: Verify dependencies
run: go mod verify
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,17 @@ 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: |
#docker run --network container:tgtime-notifier-ap appropriate/curl -s --retry 10 --retry-connrefused --retry-delay 5 --retry-max-time 30 http://localhost:8080/ping

- name: Stop containers
if: always()
run: docker compose -f docker-compose.yml -f docker-compose.dev.yml down
run: docker compose -f docker-compose.yml -f docker-compose.yml down

0 comments on commit c9a9f49

Please sign in to comment.