Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
sayem314 committed Sep 29, 2024
1 parent 17edb31 commit 8d693ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build Docker image
run: docker build -t lunarr-app .

- name: Run Docker container
run: docker run -d -p 3000:3000 --name lunarr-container lunarr-app
run: docker run -d -p 8484:8484 --name lunarr-container lunarr-app

- name: Wait for container to start
run: sleep 5s

- name: Send curl request
run: curl http://127.0.0.1:3000/hello
run: curl http://127.0.0.1:8484/hello

- name: Stop and remove container
run: docker stop lunarr-container && docker rm lunarr-container
6 changes: 3 additions & 3 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.x
go-version: 1.22

- name: Run Tests
run: make test
Expand Down

0 comments on commit 8d693ac

Please sign in to comment.