mirror of
https://github.com/vocdoni/arbo.git
synced 2026-01-09 13:57:54 -05:00
TestAddBatchBench nCPU: 4, nLeafs: 50000, hash: Blake2b, db: leveldb Add loop: 9.304195479s AddBatch: 817.590526ms
17 lines
506 B
YAML
17 lines
506 B
YAML
name: Lint
|
|
on: [ push, pull_request ]
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: 1.16.x
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Lint
|
|
run: |
|
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0
|
|
$(go env GOPATH)/bin/golangci-lint run --timeout=5m -c .golangci.yml
|