Skip to content

Commit

Permalink
Check against versions supporting Go modules, only
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Jan 30, 2020
1 parent f1c041a commit 887295b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Expand Up @@ -4,12 +4,11 @@ jobs:
test:
strategy:
matrix:
go-version: [1.2.x, 1.3.x, 1.4.x, 1.5.x, 1.6.x, 1.7.x, 1.8.x, 1.9.x, 1.10.x, 1.11.x, 1.12.x, 1.13.x]
go-version: [1.11.x, 1.12.x, 1.13.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
env:
GO111MODULE: "on"
GOPATH: "/home/runner/go"
steps:

- name: Install Dependencies
Expand All @@ -26,10 +25,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v1

- name: Download Go modules
run: go mod download

- name: Build
run: |
go get -v
go build -v ./...
run: go build -v ./...

- name: Test
run: go test ./...
Expand Down

0 comments on commit 887295b

Please sign in to comment.