1
mirror of https://github.com/jakejarvis/npqueue.git synced 2025-04-26 03:25:22 -04:00

Update go.yml

This commit is contained in:
Jake Jarvis 2019-09-05 10:57:43 -04:00 committed by GitHub
parent 1d259f3843
commit a644b8e706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,17 @@ jobs:
- name: Check out code
uses: actions/checkout@v1
- name: Download and install golangci-lint
run: |
curl -L https://github.com/golangci/golangci-lint/releases/download/v1.17.1/golangci-lint-1.17.1-linux-amd64.tar.gz | tar xzf - -C /tmp
sudo mv /tmp/golangci-lint-1.17.1-linux-amd64/golangci-lint /usr/local/bin/golangci-lint
- name: Run the linter
run: golangci-lint run
- name: Install deps
run: go mod download
- name: Get dependencies
run: |
go get -v -t -d ./...
@ -27,7 +38,3 @@ jobs:
- name: Build
run: go build -v .
- name: Lint
uses: actions-contrib/golangci-lint@master
with:
args: run