Skip to content

Update go version for Knox (#101) #149

Update go version for Knox (#101)

Update go version for Knox (#101) #149

Workflow file for this run

name: Go
permissions: read-all
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.14.6
id: go
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Fmt
run: diff -u <(echo -n) <(gofmt -d -s .)
- name: vet
run: go vet ./...