Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #25 from cpuguy83/prefetch_modules
Browse files Browse the repository at this point in the history
Test: check if pre-compiling speeds up linting
  • Loading branch information
cpuguy83 authored Jun 30, 2020
2 parents a15019f + 8056426 commit a61ef5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
GO111MODULE: on
GOLANGCI_LINT_VERSION: 1.23.8
GOLANGCI_LINT_VERSION: 1.27.0

jobs:
test:
Expand Down Expand Up @@ -73,5 +73,7 @@ jobs:
- name: Install golangci-lint
if: steps.bin.outputs.cache-hit != 'true'
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ~/bin/ v${GOLANGCI_LINT_VERSION}
- name: Precompile packages
run: go build ./...
- name: Lint
run: ~/bin/golangci-lint run --disable-all -v -E govet -E misspell -E gofmt -E ineffassign -E golint

0 comments on commit a61ef5b

Please sign in to comment.