Skip to content

Commit

Permalink
Init scaffold of repo
Browse files Browse the repository at this point in the history
  • Loading branch information
KrylixZA committed May 26, 2024
1 parent 968c681 commit 7953d56
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
16 changes: 16 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Docker

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
27 changes: 27 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# bank-with-dapr
Provides banking capabilities using Dapr as the runtime to guarantee consistency and accuracy.
# Bank with Dapr

A Dapr-enabled system that provides the basic banking capabilities you'd expect from your every day banking.

This is a pet project setup for me to learn the basics of coding in Go and leverage the power of [Dapr](https://github.com/dapr) to make it all possible.
Empty file added src/.gitkeep
Empty file.
Empty file added test/.gitkeep
Empty file.

0 comments on commit 7953d56

Please sign in to comment.