Skip to content

Update go.yml

Update go.yml #81

Workflow file for this run

name: Go tests
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
version: [ 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, '1.20', '1.21' ]
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.version }}
id: go
- name: Get dependencies
run: go mod download && go mod tidy
- name: Vet
run: go vet
- name: Test
run: go test ./...