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:
parent
1d259f3843
commit
a644b8e706
15
.github/workflows/go.yml
vendored
15
.github/workflows/go.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user