From ad484876e0a87dd55a42a578656a968a1f751c4b Mon Sep 17 00:00:00 2001 From: Leigh McCulloch Date: Wed, 23 Sep 2020 23:52:34 -0700 Subject: [PATCH] Add Go module definition and CI for tests (#15) --- .github/workflows/build.yml | 15 +++++++++++++++ go.mod | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 go.mod diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..0789e98 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,15 @@ +name: test +on: + schedule: + - cron: '0 12 * * *' + push: + pull_request: +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v1 + with: + go-version: '1' + - uses: actions/checkout@v1 + - run: go test ./... diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a8a0df8 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module 4d63.com/gochecknoglobals + +go 1.15