Skip to content

bugfix: upgrade x/tools package version #52

bugfix: upgrade x/tools package version

bugfix: upgrade x/tools package version #52

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.36
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run Unit tests
run: |
go test -race -covermode atomic -coverprofile=covprofile ./...
- name: Install goveralls
env:
GO111MODULE: off
run: go get github.com/mattn/goveralls
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.github_token }}
run: goveralls -coverprofile=covprofile -service=github
- name: Check it's own cyclomatic complexity
run: go run ./cmd/cyclop/ ./pkg/analyzer/