Skip to content

Commit

Permalink
ci: actions: added docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
PtFux committed Dec 15, 2024
1 parent 7e8540e commit b7ff227
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker-CI.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: Docker-compose CI
name: Docker CI

on:
push:
branches: [ "ci" ]
pull_request:
branches: [ "load" ]

env:
IMAGE_REGISTRY: "ghcr.io"
jobs:

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint go
run: go vet ./...

tests:
needs: lint
runs-on: ubuntu-latest
Expand All @@ -26,6 +25,8 @@ jobs:
with:
go-version: '1.23'
cache-dependency-path: go.sum
- name: Set up Docker Compose
run: sudo apt-get update && sudo apt-get install -y docker-compose
- name: Docker up for tests
run: |
cd ./cmd/microservices
Expand Down

0 comments on commit b7ff227

Please sign in to comment.