initializing directory structure and github actions

This commit is contained in:
ryanfkeepers 2022-04-27 17:49:17 -06:00
parent 150d89e738
commit 6d1b8325e5
4 changed files with 33 additions and 0 deletions

16
.github/workflows/unitTests.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Unit Tests
on: [push]
jobs:
Run-All:
runs-on: ubuntu-latest
steps:
- name: Repo Code Checkout
uses: actions/checkout@v3
- name: Golang Setup
uses: actions/setup-go@v3
with:
go-version: 1.18
- run: echo "Running {{ github.repository }} deployment unit tests."
- run: go test ./...

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module alcionai/corso
go 1.18

7
src/corso.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello, Corso")
}

7
src/corso_test.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "testing"
func TestDemo(t *testing.T) {
t.Log("Hello, test.")
}