mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
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:
parent
c76f8b8fbe
commit
50cb0450f2
3 changed files with 0 additions and 39 deletions
|
@ -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
|
||||
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:
|
||||
working_directory: /go/src/github.com/nspcc-dev/neo-go
|
||||
executor: go1_14
|
||||
|
@ -123,10 +113,6 @@ workflows:
|
|||
version: 2
|
||||
workflow:
|
||||
jobs:
|
||||
- vet:
|
||||
filters:
|
||||
tags:
|
||||
only: v/[0-9]+\.[0-9]+\.[0-9]+/
|
||||
- lint:
|
||||
filters:
|
||||
tags:
|
||||
|
|
24
.github/workflows/run_tests.yml
vendored
24
.github/workflows/run_tests.yml
vendored
|
@ -25,30 +25,6 @@ jobs:
|
|||
with:
|
||||
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:
|
||||
name: Coverage
|
||||
runs-on: ubuntu-18.04
|
||||
|
|
|
@ -8,7 +8,6 @@ list for a new release.
|
|||
These should run successfuly:
|
||||
* build
|
||||
* unit-tests
|
||||
* vet
|
||||
* lint
|
||||
* privnet with consensus nodes
|
||||
|
||||
|
|
Loading…
Reference in a new issue