diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0f6b72d8..3dc6b68c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -4,35 +4,34 @@ jobs: test: strategy: matrix: - go-version: [1.11.x, 1.12.x, 1.13.x, 1.14.x] - platform: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{ matrix.platform }} + go-version: [1.13.x, 1.14.x, 1.15.x] + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} env: GO111MODULE: "on" steps: + - name: Install Go + uses: actions/setup-go@v1 + with: + go-version: ${{ matrix.go-version }} - - name: Install Go - uses: actions/setup-go@v1 - with: - go-version: ${{ matrix.go-version }} + - name: Checkout code + uses: actions/checkout@v1 - - name: Checkout code - uses: actions/checkout@v1 + - name: Download Go modules + run: go mod download - - name: Download Go modules - run: go mod download + - name: Build + run: go build -v ./... - - name: Build - run: go build -v ./... + - name: Test + run: go test ./... - - name: Test - run: go test ./... - - - name: Coverage - env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - go test -race -covermode atomic -coverprofile=profile.cov ./... - GO111MODULE=off go get github.com/mattn/goveralls - $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github - if: matrix.go-version == '1.14.x' && matrix.platform == 'ubuntu-latest' + - name: Coverage + env: + COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + go test -race -covermode atomic -coverprofile=profile.cov ./... + GO111MODULE=off go get github.com/mattn/goveralls + $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github + if: matrix.go-version == '1.14.x' && matrix.platform == 'ubuntu-latest' diff --git a/README.md b/README.md index ae584b7a..a73305b6 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ You can find even more official releases [here](https://github.com/muesli/beehiv ### From source -Beehive requires Go 1.11 or higher. Make sure you have a working Go environment. +Beehive requires Go 1.13 or higher. Make sure you have a working Go environment. See the [install instructions](http://golang.org/doc/install.html). The recommended way is to fetch the sources and run make.