diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b2a26b0..e84fe43 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,14 @@ jobs: build: runs-on: ubuntu-latest - + steps: - name: Setup Go for use with actions uses: actions/setup-go@v1.0.0 + with: + go-version: '1.13' # The Go version to download (if necessary) and use. + - name: Building + run: go build . + - name: Testing + run: go test ./... + diff --git a/go.mod b/go.mod index 16fbaa8..846d1bf 100644 --- a/go.mod +++ b/go.mod @@ -1 +1,3 @@ module hamster-tycoon + +go 1.13