mirror of
https://github.com/luxfi/verkle.git
synced 2026-11-03 11:05:03 +00:00
33 lines
651 B
YAML
33 lines
651 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/golang:1.15.8
|
|
working_directory: /go/src/github.com/gballet/go-verkle
|
|
|
|
steps:
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
keys:
|
|
- v1-pkg-cache
|
|
|
|
- run: go build
|
|
|
|
#- run: go get honnef.co/go/tools/cmd/staticcheck
|
|
|
|
- run:
|
|
name: Run unit tests
|
|
command: go test ./...
|
|
|
|
- run:
|
|
name: Run the static checkers
|
|
command: |
|
|
go vet
|
|
# /go/bin/staticcheck
|
|
|
|
- save_cache: # Store cache in the /go/pkg directory
|
|
key: v1-pkg-cache
|
|
paths:
|
|
- "/go/pkg"
|