Skip to content

Commit

Permalink
build: update golangci (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jguer authored Nov 15, 2022
1 parent a88fad6 commit 3f5dffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ linters:
# - forbidigo

run:
go: '1.18'

issues:
exclude-rules:
Expand Down
4 changes: 2 additions & 2 deletions ci.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/jguer/yay-builder:latest
FROM docker.io/heywoodlh/archlinux:latest

ENV GO111MODULE=on
WORKDIR /app
Expand All @@ -7,5 +7,5 @@ COPY go.mod .

RUN pacman -Sy && pacman -S --overwrite=* --noconfirm archlinux-keyring && pacman -Su --overwrite=* --needed --noconfirm go git && \
rm -rfv /var/cache/pacman/* /var/lib/pacman/sync/* && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.48.0 && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.1 && \
go mod download

0 comments on commit 3f5dffc

Please sign in to comment.