ci: update go versions and github actions

This commit is contained in:
cn 2020-08-21 16:51:09 +02:00 committed by Christian Nicolai
parent 898dcfed50
commit 1a0a661fab
1 changed files with 9 additions and 12 deletions

View File

@ -7,26 +7,23 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- '1.11'
- '1.12'
- '1.13'
runs-on: ubuntu-latest
- '1.14'
- '1.15'
env:
GO111MODULE: on
GOPROXY: direct
GOSUMDB: off
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Set up Make
run: |
sudo apt-get -y install make
- name: Build
env:
GO111MODULE: on
GOPROXY: direct
GOSUMDB: off
run: |
make