Merge pull request #2 from alcionai/init-actions

initializing directory structure and github actions
This commit is contained in:
Keepers 2022-05-03 08:46:34 -06:00 committed by GitHub
commit 7502370f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.")
}