Skip to content

Add v1.8.1 manifests (#236) #339

Add v1.8.1 manifests (#236)

Add v1.8.1 manifests (#236) #339

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
build:
name: Go CI
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.18, 1.19]
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@v3
- name: Install Linters
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.48.0"
- name: Build
env:
GO111MODULE: "on"
run: go build ./...
- name: Test
env:
GO111MODULE: "on"
GORACE: "halt_on_error=1"
run: go test -race -v ./...
- name: Lint
env:
GO111MODULE: "on"
run: |
golangci-lint run --disable-all --deadline=10m --enable=gofmt --enable=golint --enable=vet --enable=gosimple --enable=unconvert --enable=ineffassign