Skip to content

Commit a4758ee

Browse files
authored
Merge pull request #31 from disco07/main
pull request
2 parents c079abd + 43327dc commit a4758ee

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

.github/workflows/ci.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Build the Docker-compose
18+
run: docker-compose up --build -d
19+
- name: Run Unit Tests
20+
run: go test

.idea/.gitignore

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# docker-golang-postgres
1+
[![ci](https://github.com/disco07/docker-golang-postgres/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/disco07/docker-golang-postgres/actions/workflows/ci.yml)
2+
# docker-golang-postgres
23
Dockerize golang apps
34

45
## Getting Started
@@ -56,4 +57,5 @@ Feel free to check the issues page.
5657
Give a ⭐️ if you like this project!
5758

5859
## 📝 License
59-
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
60+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
61+
=======

0 commit comments

Comments
 (0)