mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-20 01:42:20 +00:00
arrow_up: Bump golangci-lint version
This commit is contained in:
committed by
Itxaka
parent
ac5b348e4b
commit
7d3c952e8b
@@ -18,6 +18,7 @@ ARG COSIGN_REPOSITORY=raccos/releases-teal
|
|||||||
ARG COSIGN_EXPERIMENTAL=0
|
ARG COSIGN_EXPERIMENTAL=0
|
||||||
ARG CGO_ENABLED=0
|
ARG CGO_ENABLED=0
|
||||||
ARG ELEMENTAL_IMAGE=quay.io/costoolkit/elemental-cli:v0.0.15-8a78e6b
|
ARG ELEMENTAL_IMAGE=quay.io/costoolkit/elemental-cli:v0.0.15-8a78e6b
|
||||||
|
ARG GOLINT_VERSION=1.47.3
|
||||||
|
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@@ -93,7 +94,8 @@ dist:
|
|||||||
|
|
||||||
lint:
|
lint:
|
||||||
FROM golang:alpine
|
FROM golang:alpine
|
||||||
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.46.2
|
ARG GOLINT_VERSION
|
||||||
|
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v$GOLINT_VERSION
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN golangci-lint run
|
RUN golangci-lint run
|
||||||
|
Reference in New Issue
Block a user