Skip to content

Commit

Permalink
Add Go module definition and CI for tests (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Sep 24, 2020
1 parent 7c3491d commit ad48487
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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 ./...
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module 4d63.com/gochecknoglobals

go 1.15

0 comments on commit ad48487

Please sign in to comment.