mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
fix(golangci)
This commit is contained in:
parent
03ba4b3b70
commit
9826851e2f
1 changed files with 12 additions and 4 deletions
|
@ -5,6 +5,9 @@ versions:
|
||||||
github: golangci/golangci-lint/tags
|
github: golangci/golangci-lint/tags
|
||||||
strip: /^v/
|
strip: /^v/
|
||||||
|
|
||||||
|
warnings:
|
||||||
|
- vendored
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
curl.se: '*'
|
curl.se: '*'
|
||||||
|
@ -18,9 +21,14 @@ build:
|
||||||
linux/aarch64: {PLATFORM: linux-aarch64}
|
linux/aarch64: {PLATFORM: linux-aarch64}
|
||||||
linux/x86-64: {PLATFORM: linux-x64}
|
linux/x86-64: {PLATFORM: linux-x64}
|
||||||
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/golangci-lint
|
- bin/golangci-lint
|
||||||
|
|
||||||
test: |
|
test:
|
||||||
golangci-lint help linters
|
# FIXME: this works around a bug introduced in 1.53.0
|
||||||
|
# https://github.com/golangci/golangci-lint/issues/3862#issuecomment-1572973588
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.17
|
||||||
|
script: golangci-lint help linters
|
||||||
|
env:
|
||||||
|
GOROOT: $(go env GOROOT)
|
||||||
|
|
Loading…
Reference in a new issue