Skip to content

Update README to reflect repository status #93

Update README to reflect repository status

Update README to reflect repository status #93

Workflow file for this run

name: linter & tests
on: [push]
jobs:
linter:
name: Linter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- uses: actions/setup-go@v1
with:
go-version: '1.16.x'
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.41
- name: Install golint
run: go get -v golang.org/x/lint/golint
- name: Run golint
run: |
export PATH=$PATH:$(go env GOPATH)/bin
golint ./...
tests:
name: Tests
strategy:
matrix:
go-version: [1.14.x, 1.15.x,1.16.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Run tests
run: go test -v -covermode=atomic -coverprofile=coverage.out ./...
- name: Codecov.io
run: bash <(curl -s https://codecov.io/bash)