circleci/workflows: drop vet run

golangci-lint already includes govet, so having it in a separate task doesn't
add any value (only increases CI running time).
This commit is contained in:
Roman Khimov 2021-05-13 00:06:08 +03:00
parent c76f8b8fbe
commit 50cb0450f2
3 changed files with 0 additions and 39 deletions

View file

@ -44,16 +44,6 @@ jobs:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.40.0 curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.40.0
make lint make lint
vet:
working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_16
steps:
- checkout
- gomod
- run:
name: go-vet
command: go vet ./...
test_1_14: test_1_14:
working_directory: /go/src/github.com/nspcc-dev/neo-go working_directory: /go/src/github.com/nspcc-dev/neo-go
executor: go1_14 executor: go1_14
@ -123,10 +113,6 @@ workflows:
version: 2 version: 2
workflow: workflow:
jobs: jobs:
- vet:
filters:
tags:
only: v/[0-9]+\.[0-9]+\.[0-9]+/
- lint: - lint:
filters: filters:
tags: tags:

View file

@ -25,30 +25,6 @@ jobs:
with: with:
version: latest version: latest
vet:
name: Vet
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Restore Go modules from cache
uses: actions/cache@v2
with:
path: /home/runner/go/pkg/mod
key: deps-${{ hashFiles('go.sum') }}
- name: Update Go modules
run: go mod download -json
- name: Run vet
run: go vet ./...
test_cover: test_cover:
name: Coverage name: Coverage
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04

View file

@ -8,7 +8,6 @@ list for a new release.
These should run successfuly: These should run successfuly:
* build * build
* unit-tests * unit-tests
* vet
* lint * lint
* privnet with consensus nodes * privnet with consensus nodes