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